Vidyalelo
C++ Programming · Q11

Arrays and Strings in C++

Programming · C++ Programming · question 11

Q11

What does the 'strcpy()' function do in C++?

A.
Concatenates two strings
B.
Compares two strings
C.
Returns the length of a string
D.
Copies one string to another
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board