Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  a
Language: C/C++
Code:
#include<stdio.h>
#include<string.h>
main()
{
char s1[30],s2[30];
printf("Enter a string ");
scanf("%s",s1);
printf("Enter another string: ");
scanf("%s",s2);
printf("Result is: %d",strcmp(s1,s2));
}
          
Comments: