A

Admin • 833K Points
Coach

Q. Which function is used to compare two strings?

  • (A) strcmp()
  • (B) strcomp()
  • (C) stringcompare()
  • (D) compare()
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

strcmp() compares two strings and returns 0 if equal.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.