c how to compare chars 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.