#include
#include
int main ()
{
char *p;
char str[] = "I Love Clementine";
p = (char*) memchr (str, 'l', strlen(str));
if (p != NULL)
printf ("Character l was at position %d.\n", p - str + 1);
else
printf ("Character l was not found");
return 0;
}