Both return 1 if two strings are equal and 0 if they are different right?
Both return 1 if two strings are equal and 0 if they are different right?
strcmp(s1,s2)
returns a negative number if s1 < s2, returns zero if s1 = s2 and returns a positive number if s1 > s2.
The streql function is not part of the C standard and is an extension provided by your compiler or some other library you are using.