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