Vidyalelo
C Programming · Q161

File Input Output

Programming · C Programming · question 161

Q161

Which one of the following is correct syntax for opening a file.

A.
FILE *fopen(const *filename, const char *mode)
Answer
B.
FILE *fopen(const *filename)
C.
FILE *open(const *filename, const char *mode)
D.
FILE open(const*filename)

Answer: Option A

Solution

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