- What happens with the initial string after calling strtok()?
- Why does this not work if instead of a character array I use string class?
String Tokenizer Function 1
hey @Mp18,
- Intial string is unaffected.
- This is function declaration of strtok(). char * strtok ( char * str, const char * delimiters );
This function expects char array as input not string.