Vidyalelo
C++ Programming · Q34

File Handling in C++

Programming · C++ Programming · question 34

Q34

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

A.
Opens the file in binary mode
Answer
B.
Opens the file in text mode
C.
Opens the file in append mode
D.
Opens the file in read mode

Answer: Option A

Solution

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