Page 1 of 1

Which of the following is the correct syntax for calling function ungetc?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
Assume int c and FILE *fp
a) ungetc(c,*fp);
b) ungetc(c, fp);
c) ungetc(fp, c);
d) ungetc(*fp,c);