-
-
Save anonymous/3c306745b8616b539faef0a0453885c9 to your computer and use it in GitHub Desktop.
programmingfaster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
int main() | |
{ | |
char s1[100], s2[100]; | |
printf("Enter string:\n"); | |
gets(s1); | |
printf("Enter string:\n"); | |
gets(s2); | |
if(strcmp(s1,s2)==0) | |
printf("Entered srings are equal.\n"); | |
else | |
printf("Entered srings are not equal.\n"); | |
getch(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment