Q111
The syntax of fgets is char *fgets(char *line, int maxline, FILE *fp). Which is true for fgets?
A.
Returns line on success
B.
On end of file or error it returns NULL
C.
Nothing
D.
Both returns line on success & On end of file or error it returns NULL
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board