In the function mystrtok

Whenever the function mystrtok is called static char * input is initialized as NULL so even if we are incrementing input value in the function somewhere, whenever the function is called again shouldn’t it again be initialized to NULL everytime?