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
Can circle be called an ellipse?
How do I start a c++ project?
Explain what are the sizes and ranges of the basic c++ data types?
If dog is a friend of boy, is boy a friend of dog?
How much do coding jobs pay?
You run a shell on unix system. How would you tell which shell are you running?
Out of fgets() and gets() which function is safe to use?
What is function declaration in c++ with example?
Difference between strdup and strcpy?
Which programming language's unsatisfactory performance led to the discovery of c++?
What is a set in c++?
What is srand c++?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
Carry out conversion of one object of user-defined type to another?
What do you mean by inheritance in c++?