1. Which of the following the is the correct declaration for ungetc? a) int ungetc(int c, FILE fp); b) int ungetc(int *c, FILE fp); c) int ungetc(int c, FILE *fp); d) int ungetc(int *c, FILE *fp); AnswerAnswer: c [Reason:] None. 2. Which of the following cannot be used with ungetc? a) scanf b) getc c)…