About strtok function

when i run the program having strtok function ,it gave me only hi as output ,i did it the same way ,as it is shown in video
using while loop,please Help

@dgoyal please send me your ide link of code ,basic functioning of strtok is :slight_smile:char * token=strtok(string ,delimiter) ;
while(token!=NULL)
{cout<<token;
token=strtok(NULL, delimiter)}
Hope you get it.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.