If the user presses enter - scanf will not wait - because the string does not match the format... That's why you need to check the return value of scanf...If the user enters <exit> and nothing else, this scanf function will just sit there waiting for more input.
But the safer way to handle input is with the pair fgets/sscanf...
strtok is not thread safe so do not get bad habbits on using it.