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

ungetc(c, fp);



Your comments will be displayed only after manual approval.