1
Both return 1 if two strings are equal and 0 if they are different right ?
1
Both return 1 if two strings are equal and 0 if they are different right ?
2
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.
Browser other questions tagged c
You are not signed in. Login or sign up in order to post.