The syntax of fgets is char *fgets(char *line, int maxline, FILE *fp). Which is true for fgets?
Posted: Wed Jul 13, 2022 7:54 pm
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
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