Which header file is required to use file I/O operations ?
Which of the following is used to create an output stream ?
Which of the following is used to create a stream that performs both input and output operations ?
Which of the following is not used as a file opening mode ?
Which of the following statements are correct ?
1) It is not possible to combine two or more file opening mode in open() method.
2) It is possible to combine two or more file opening mode in open() method.
3) ios::in and ios::out are input and output file opening mode respectively.
By default, all the files in C++ are opened in _________ mode ?
What is the use of ios::trunc mode ?
Which of the following is the default mode of the opening using the ofstream class ?
What is the return type open() method ?
Which of the following is not used to seek file pointer ?