Vidyalelo
C Programming · Q4

File Input Output

Programming · C Programming · question 4

Q4

How do you check if a file was opened successfully in C?

A.
Use the 'filestatus' variable
B.
Check the return value of fopen()
Answer
C.
Use the 'fileopen' function
D.
Check the file's size

Answer: Option B

Solution

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