strcoll in C language

The C strcoll function is a String Function, used to compare two strings. The result of this function depends upon the LC_COLLATE settings. The strcoll method returns any of the following values: It will return -1 if str1 is less than str2 It returns +1 if str1 is greater than str2 and this function will return 0 if str1 and str2 are equal C strcoll syntax … Read more