What function is used to copy a string in C?

What function is used to copy a string in C?
A . strcpy()
B . strcat()
C . memcpy()
D . strncpy()

Answer: A

Explanation:

strcpy() is used to copy a string in C.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments