[Solved] string literal pointer issue passing to nested functions
In C, string operations cannot have a convenient interface, because of memory management. If a function receives a string, and converts it to another string, you should decide how to declare its interface. The simplest interface is in-place (strtok uses it); you can use it only if the output is somehow smaller than input: void … Read more