Examveda

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);

Answer: Option C


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output