Which of the following 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);
I had been asked this question in a job interview.
I need to ask this question from Ungetc in section Input and Output in C of C