Which of the following statements are true about Catch handler? i) It must be placed immediately after try block T. ii) It can have multiple parameters. iii) There must be only one catch handler for every try block. iv) There can be multiple catch handler for a try block T. v) Generic catch handler can be placed anywhere after try block.
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 ?