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 the difference between global variables and static varables?
What is a forward referencing and when should it be used?
How do you clear a map in c++?
What is a map in c++?
Define upcasting.
How many types of comments are there in c++?
What is the use of default constructor?
How can you specify a class in C++?
How long does it take to get good at leetcode?
What is the use of pointer in c++ with example?
You run a shell on unix system. How would you tell which shell are you running?
Why is the function main() special?
Why do we use classes in programming?
What is the difference between multiple and multilevel inheritance in c++?
Explain bubble sorting.