Top

Discussion

Which function will you choose to join two words?

  • A.strcpy()
  • B.strcat()
  • C.strncon()
  • D.memcon()

Answer: B

The strcat() function is used for concatenating two strings, appends a copy of the string.
char *strcat(char *s1,const char *s2);

No comment is present. Be the first to comment.
Loading…

Post your comment