
main()
{
char * foo = "This is a test\n";
char * bar;

bar = memchr(foo, 's', 10);
printf("Address of foo = %x and bar = %x\n", foo, bar);
}
