CPP File Handling MCQCpp MCQ
(1) In C++ which file mode is used to empty the file ?
(2) Which file mode goto eof each time before writing data in C++ ?
(3) Which file writing mode write data at the end of file in C++ ?
(4) How many parameters of open() method in file handling using C++ ?
(5) Which of the following class is used to create file writing operation?
(6) How many modes can be specified in opening file?
(7) Which of the following mode is used to write at the end of file.
(8) Which of the following types of file can be used for read/write operations in C++ ?
(9) Which of the following mode is used for writing data to files?
(10) Which of the following file reading mode in C++ ?
(11) Which of following header file is used for file IO operations in C++ ?