how C compare strings strcmp code example
Example: string compare in c
strcmp(leftStr, rightStr);
//compares ascii value and gives positive, negative or zero.
strcmp(leftStr, rightStr);
//compares ascii value and gives positive, negative or zero.