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
What is singleton class in c++?
What is else syntax in c++?
Can a new be used in place of old mallocq? If yes, why?
Do class declarations end with a semicolon?
Can I learn c++ without learning c?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Why c++ is better than c language?
When do you call copy constructors?
Can member functions be private?
What is the full form of ios?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What is c++ library?
Explain the problem with overriding functions
When should we use container classes instead of arrays?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.