Select the right explanation for the following C code snippet.
int fgetpos(FILE *stream, fpos_t *s)
int fgetpos(FILE *stream, fpos_t *s)A. records the current position in stream in *s
B. sets the file position for stream in *s
C. positions stream at the position recorded in *s
D. reads from stream into the array ptr
Answer: Option A

Join The Discussion