Vidyalelo
C++ Programming · Q14

File Handling in C++

Programming · C++ Programming · question 14

Q14

Which function is used to check if a file exists in C++?

A.
file.exists()
B.
exists(file)
Answer
C.
file.opened()
D.
open(file)

Answer: Option B

Solution

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