Vidyalelo
C++ Programming · Q13

File Handling in C++

Programming · C++ Programming · question 13

Q13

What is the purpose of the ios::app flag in C++ file handling?

A.
Appends data to the end of the file
B.
Opens the file in append mode
Answer
C.
Opens the file in write mode
D.
Opens the file in read mode

Answer: Option B

Solution

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