Vidyalelo
C Programming · Q83

File Input Output

Programming · C Programming · question 83

Q83

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);
Answer
D.
int ungetc(int *c, FILE *fp);

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board