Tokeniser variable

we know int *p; is a pointer variable which stores the address of an integer variable. Similarly goes with char *p; it will store the address of a char variable and to extract its value we dereference it like cout<<(*p);.
but now in tokeniser we have ,
char *ptr = strtok(s, " " ); for any value of string s.
cout<<ptr;
how we are getting the value of token though ptr is a pointer variable . why we have not used dereferencing operator to get the token(*ptr); as ptr is a pointer variable

@bvidab18

hello AAditya,
check how to print c string u will get ur answer

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.