Multiple choice

What is/are the role(s) of strcmp() function in C language?

  1. This function is used to compare the two strings.

  2. This method returns true, if both the strings are identical.

  3. This method returns false, if both of the strings are not equal.

  4. All of the above

  5. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is true about strcmp() function.