Which of the following functions is used to compare two strings in C?

Explanation:

strcmp() compares two strings character by character.

Explore more in Computer Science: