Can anyone explain why I am getting segmentation fault in the following example?
#include #include int main(void) { char
strtok_r tries to write null characters into hello (which is illegal because it is a const string)