Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

char *ch = "abcde";
char c[4];
how to copy 'ch' to 'c'?

Answer Posted / supriya pandey

i think we used the string libruary function strcpy() to
copy it...

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In what situations do you have to use initialization list rather than assignment in constructors?

1016


What is auto used for in c++?

1012


What do you mean by funtion prototype?

1004


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1827


Will the following program execute?

994


What is c++ hiding?

1117


What is data binding in c++?

906


What is name hiding in c++?

1110


If all is successful, what should main return a) 0 b) 1 c) void

974


Define token in c++.

1096


What is difference between rand () and srand ()?

1040


Mention the storage classes in c++.

1029


What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

1004


Define the process of error-handling in case of constructor failure?

962


How do you declare A pointer to function which receives an int pointer and returns a float pointer

1122