A

Admin • 802.91K Points
Coach

Q. Which function is used to copy a string in C?

  • (A) copy()
  • (B) strcpy()
  • (C) strcat()
  • (D) stringcopy()
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
strcpy() copies the content of one string to another.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.