string comparison with 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.