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


Discussion

No Comment Found

Related MCQs