Why can’t I use strtok directly on a string in C, and why do I need to copy it first?
I don’t understand why I can’t directly strtok(argv[1], ";") (whould there be a difference if the argv[1] is indeed an input from terminal with argv[1] is actually a list on heap?) char *multiDecimalToBinary(char *argv[], int count) { int maxLen = 80 * (count + 1); // Max memory needed for result in this situation char