2 ms·
Using strtok on a string literal has been undefined behavior since ANSI C 89. The standard C library uses const char * almost everywhere where a string is acce
by kazinator 2y ago
Using strtok on a string literal has been undefined behavior since ANSI C 89.
The standard C library uses const char * almost everywhere where a string is accepted that will not be modified.