Vidyalelo
C Programming · Q235

File Input Output

Programming · C Programming · question 235

Q235

Select the right explanation for the following C code snippet. int fgetpos(FILE *stream, fpos_t *s)

A.
records the current position in stream in *s
Answer
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

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board