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

  • (A) copy()
  • (B) strcpy()
  • (C) strcat()
  • (D) stringcopy()
πŸ’¬ Discuss
βœ… Correct Answer: (B) strcpy()
Explanation: strcpy() copies the content of one string to another.
Explanation by: Mr. Dubey
strcpy() copies the content of one string to another.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate