-
The syntax of fgets is char *fgets(char *line, int maxline, FILE *fp). Which is true for fgets?
-
- On end of file or error it returns NULL
- Returns line on success
- Both On end of file or error it returns NULL & returns line on success
- Nothing
- None of these
Correct Option: C
Both On end of file or error it returns NULL & returns line on success