Vidyalelo
C Programming · Q22

File Input Output

Programming · C Programming · question 22

Q22

What happens if you try to open a file in 'r' mode that doesn't exist in C?

A.
A new file is created
B.
An error occurs, and the file remains unchanged
Answer
C.
The program terminates
D.
The file is deleted

Answer: Option B

Solution

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