Skip to content

Instantly share code, notes, and snippets.

/programmingfaster Secret

Created Feb 16, 2018
Embed
What would you like to do?
programmingfaster
#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
You can’t perform that action at this time.