1.

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

Answer»

Right CHOICE is (c) int ungetc(int c, FILE *fp);

EASY explanation - None.



Discussion

No Comment Found

Related InterviewSolutions