Which of the following is the right declaration for fgets() inside the library?

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);
 

Tìm kiếm

Back
Top