Examveda

Which of the following is the correct syntax for calling function ungetc?
Assume int c and FILE *fp

A. ungetc(c,*fp);

B. ungetc(c, fp);

C. ungetc(fp, c);

D. ungetc(*fp,c);

Answer: Option B


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output