// This is test program for strchr function from string.h #include #include int main() { char s[] = "Hi.Hello.Hey!"; puts(strchr(s, '.')); return 0; }