C compare characters code example
Example 1: compare two chars c
strcmp(char, char);
Example 2: string compare in c
strcmp(leftStr, rightStr);
//compares ascii value and gives positive, negative or zero.
strcmp(char, char);
strcmp(leftStr, rightStr);
//compares ascii value and gives positive, negative or zero.