Vidyalelo
C++ Programming · Q14

Arrays and Strings in C++

Programming · C++ Programming · question 14

Q14

What is the purpose of the 'strcat()' function in C++?

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

Answer: Option C

Solution

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