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
Is c++ still being used?
What is array in c++ pdf?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Is c++ a good first language to learn?
What are protected members in c++?
What is the purpose of template?
What is anonymous object in c++?
Mention the ways in which parameterized can be invoked.
What is a local variable?
What does asterisk mean in c++?
Write a program which uses functions like strcmp(), strcpy()? etc
What is the identity function in c++? How is it useful?
What is using namespace std in cpp?
Differentiate between an external iterator and an internal iterator?
What is the error in the code below and how should it be corrected?