Q134
What does the ungetc function return for the following C expression? ungetc(c, fp);//where declarations are int c and FILE *fp
A.
It returns character c
B.
It returns EOF for an error
C.
Both returns character c and returns EOF for an error
D.
Either returns character c or returns EOF for an error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board