1 #include <string.h> 2 main(void)3 int main(void) 4 { 5 char buf[] = "hello hi there"; 6 7 char * pch; 8 9 pch = strstr(buf, "hi"); 10 11 puts(pch); 12 13 return 0; 14 } 15