0
How it output equal
String comparison
4 Antworten
0
char *str="Solo";
char *str1="Learn";
if(strcmp(str,str1))
printf("equal");
else
printf ("not equal");
0
Output is equal
0
strcmp() returns non-zero value if the strings are not equivalent.
0
Okie thanks