*answer=toupper(*answer);
should be
toupper(answer);
bear in mind though your next file is not all uppercase so no it wont be the same as toupper(answer)
*answer=toupper(*answer);
should be
toupper(answer);
bear in mind though your next file is not all uppercase so no it wont be the same as toupper(answer)