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
In what situations do you have to use initialization list rather than assignment in constructors?
What is auto used for in c++?
What do you mean by funtion prototype?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
Will the following program execute?
What is c++ hiding?
What is data binding in c++?
What is name hiding in c++?
If all is successful, what should main return a) 0 b) 1 c) void
Define token in c++.
What is difference between rand () and srand ()?
Mention the storage classes in c++.
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)
Define the process of error-handling in case of constructor failure?
How do you declare A pointer to function which receives an int pointer and returns a float pointer