Vidyalelo
C Programming · Q19

File Input Output

Programming · C Programming · question 19

Q19

How do you check if a file exists in C?

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

Answer: Option B

Solution

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