C program to compare two string using case and ignoring case without using library function
In this program, we will learn how to compare two strings without using library function using case and ignoring case sensitivity.
Here, we will read two string (that can contains spaces too) and compares them using following two function,
- stringCmp() - Compares two strings (case sensitive).
- stringCmpi() - Compares two string ignoring case.