Vidyalelo
C Programming · Q31

File Input Output

Programming · C Programming · question 31

Q31

The given statement FILE *fptr;

A.
Defines a pointer to the pre-defined structure type FILE
Answer
B.
Defines a pointer to the user-defined structure type FILE
C.
Defines a pointer to the pre-defined data type FILE DESCRIPTOR
D.
Creates a file with the name fptr
E.
Creates a file pointed by fptr

Answer: Option A

Solution

Answer: Option A
Solution:

FILE is a pre-defined structure.