

MCQOPTIONS
Saved Bookmarks
1. |
What does the ungetc function return for the following 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 |
Answer» E. | |