C Programming :: Library Functions
-
It is necessary that for the string functions to work safely the strings must be terminated with '\0'.
-
If the two strings are found to be unequal then strcmp returns difference between the first non-matching pair of characters.