Examveda
Examveda

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

A. Use the 'filestatus' variable

B. Check the return value of fopen()

C. Use the 'fileopen' function

D. Check the file's size

Answer: Option B


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output