Site icon Exam4Training

What function is used to concatenate two strings in C?

What function is used to concatenate two strings in C?
A . strcat()
B . strncpy()
C . memcpy()
D . strcpy()

Answer: A

Explanation:

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

Exit mobile version