Skip to content

Instantly share code, notes, and snippets.

Created February 16, 2018 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3c306745b8616b539faef0a0453885c9 to your computer and use it in GitHub Desktop.
Save anonymous/3c306745b8616b539faef0a0453885c9 to your computer and use it in GitHub Desktop.
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