int result=strcmp(str1,str2); // 0 if strings are equal // >0 if the first non-matching character in str1 is greater (in ASCII) than that of str2. // <0 if the first non-matching character in str1 is lower (in ASCII) than that of str2.