A

Admin • 833K Points
Coach

Q. Which of the following functions can copy one string into another?

  • (A) strcat()
  • (B) strcpy()
  • (C) strlen()
  • (D) strcmp()
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

strcpy(dest, src) copies string from src to dest.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.