Comparison of any two String in C++

To compare any two string first we need to find length of each string and then compare both strings. If both string have same length then compare character by character of each string.

Example :

Output :

Enter First String : aimtocode
Enter Second String : aimtocode
Strings are equal