#include void main() { int i,flag; char str[10],str1[10]; clrscr(); printf("enter First string: "); scanf("%s",str); printf("enter Second string: "); scanf("%s",str1); for(i=0;str[i]!='\0' && str1[i]!='\0';i++); { if(str[i]==str1[i]) flag=1; else flag=0; } if(flag) printf("The strings are Equal"); else printf("The strings are NOT Equal"); getch(); }