Function int strcmpconst char s1 const char s2 that compares
//Function int strcmp(const char* s1, const char* s2) //that compares C-style strings. It returns a negative //number if s1 is lexicographically before s2, zero if //s1 equals s2, and a positive number if s1 is //lexicographically after s2.
Solution
This function takes two string and compare the strings, compares them lexicographically and returns as per following
str1 - this parameter is the first string to be compared
str2 - this parameter is the second string to be compared.
and returns the comparision result if :
str1 is less than str2 then will return less than 0
str2 is less than str2 then will return greater than 0
both strings are equal then return 0

