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);
Answer:A
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);