

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following is the right declaration for fgets inside the library? |
A. | int *fgets(char *line, int maxline, FILE *fp); |
B. | char *fgets(char *line, int maxline, FILE *fp); |
C. | char *fgets(char *line, FILE *fp); |
D. | int *fgets(char *line, FILE *fp); |
Answer» C. char *fgets(char *line, FILE *fp); | |