strcmp will accept two strings. It will return an integer. This integer will either be:Code:int strcmp ( const char *s1, const char *s2 );
What exactly is this checking? How is 'John' less, more than or equal to 'Joey'...I guess is my question.Negative if s1 is less than s2.
Zero if s1 and s2 are equal.
Positive if s1 is greater than s2.