Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <ctype.h>
- #include <string.h>
- int main(int argc, const char * argv[]) {
- char s1[1000];
- scanf("%s", s1);
- char s2[1000];
- scanf("%s", s2);
- printf("%d\n", strcmp(s1, s2));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement