What is the purpose of the ios::binary flag in C++ file handling?
A. Opens the file in binary mode
B. Opens the file in text mode
C. Opens the file in append mode
D. Opens the file in read mode
Answer: Option A
Related Questions on File Handling in C plus plus
Which header file is required for file handling in C++?
A. <iostream>
B. <fstream>
C. <file>
D. <filestream>
Join The Discussion