C Program to Compare Two Strings without using strcmp

This program allows the user to enter two string values or two character array. Next, this compare strings program will use For Loop to iterate each and every character present in that string, and compares individual characters

C Program to Compare Two Strings Using While Loop

This program is same as above but this time we are using While loop. We literally replaced the For Loop in above example with While Loop. I suggest you to refer While Loop to understand the loop Iteration.