#include #include int main(int argc, char **argv) { if (argc != 3) { fprintf(stderr, "usage: %s string1 string2\n", argv[0]); return(1); } if (strstr(argv[1], argv[2])) printf("Yes, the second argument is a substring of the first.\n"); else printf("No, the second argument is not a substring of the first.\n"); return(0); }