In the following function:
char *mystrtok(const char *input, const char *delim,char *rest) { int i; for (i = 0; input[i] != *delim && input[i
change the prototype to
char *mystrtok(const char *input, const char *delim, const char *rest);