strcmpCompares two character strings | |||||||||||||
Arguments
Return ValueThe result of the comparison is indicated in the return value as shown below:
ExplanationThe string pointed to by s1 is compared with the string pointed to by s2, character-by-character as unsigned chars, and the result is indicated in the return value. |