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
The syntax of fgets is char *fgets(char *line, int maxline, FILE *fp). Which is true for fgets?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The syntax of fgets is char *fgets(char *line, int maxline, FILE *fp). Which is true for fgets?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!