Q30
What happens if you try to open a file that does not exist in C++ without specifying any flags?
A.
The file will be created
B.
An error will occur
AnswerC.
The program will wait indefinitely
D.
The file will be opened in read mode
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board