Answers for "c programming string compare"

C
1

string compare c

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.
Posted by: Guest on November-17-2021

Code answers related to "C"

Browse Popular Code Answers by Language