int main()
{
char s[100] ="hello world, this is jainish here. i am a programmer & coder";
char *s_ptr=strtok(s," ");
while(s_ptr!=NULL)
{
s_ptr=strtok(NULL," ");
cout<<s_ptr<<" ";
}
return 0;
}
why string hello is not printing in the above code.