Home » C Programming » C-Library-Functions » Question
  1. Which of the following is the correct declaration for ungetc?
    1. int ungetc(int *c, FILE *fp);
    2. int ungetc(int c, FILE fp);
    3. int ungetc(int *c, FILE fp);
    4. int ungetc(int c, FILE *fp);
    5. None of these
Correct Option: D

int ungetc(int c, FILE *fp);



Your comments will be displayed only after manual approval.