Which function is used to concatenate two strings in C?

Which function is used to concatenate two strings in C?
A . strncat()
B . strcpy()
C . strcat()
D . sprintf()

Answer: C

Explanation:

strcat() is used to concatenate two strings in C.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments