#include #include #include int main(void) { FILE *fp; char str[128]; if ((fp=fopen("input.txt","r"))==NULL) { printf("Error\n"); exit(1); } while(!feof(fp)) { fgets(str, 126, fp); if (strstr(str,"hellow")!=NULL) printf("%s", str); } fclose(fp); return 0; }