Code Snippets C

#include
#include
int main ()
{
char str[] ="I Love Clementine, I Like Superman.";
char *p;
printf ("Split \"%s\" in tokens:\n", str);
p = strtok (str," ");
while (p != NULL)
{
printf ("%s\n", p);
p = strtok (NULL, " ,");
}
return 0;
}