Home » C Programming » Input & Output » Question
  1. What will be the output of the following C function when EOF returns?
    int fputs(char *line, FILE *fp)
    1. ‘t’ character in array line is encountered
    2. ‘�’ character of array line is encountered
    3. When an error occurs
    4. ‘n’ character in array line is encountered
    5. None of these
Correct Option: C

When an error occurs



Your comments will be displayed only after manual approval.