Vidyalelo
C Programming · Q245

File Input Output

Programming · C Programming · question 245

Q245

What will be the output of the following C function when EOF returns? int fputs(char *line, FILE *fp)

A.
'a' character of array line is encountered
B.
'n' character in array line is encountered
C.
't' character in array line is encountered
D.
When an error occurs
Answer

Answer: Option D

Solution

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