MCQOPTIONS
Bookmark
Saved Bookmarks
→
C++ Programming
→
Constructors And Destructors in C++ Programming
→
Which of the following is used to create an output..
1.
Which of the following is used to create an output stream?
A.
ofstream
B.
ifstream
C.
iostream
D.
fsstream
Answer» B. ifstream
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which of the following is used to move the file pointer to start of a file?
Which function is used to reposition the file pointer?
Which function is used in C++ to get the current position of file pointer in a file?
Which of the following is the default mode of the opening using the fstream class?
Which of the following is the default mode of the opening using the ifstream class?
Which of the following is not used to seek file pointer?
What is the return type open() method?
Which of the following is the default mode of the opening using the ofstream class?
What is the use of ios::trunc mode?
By default, all the files in C++ are opened in _________ mode.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply