Question
a.
is_open
b.
buf
c.
string
d.
none of the mentioned
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which member function is used to determine whether the stream object is currently associated with a file?
Similar Questions
Discover Related MCQs
Q. Which header file is used for reading and writing to a file?
View solution
Q. Which one is always faster in writing on C++?
View solution
Q. How many tests are available in read and write operations?
View solution
Q. What will act as a intermediate between i/o operations and physical file?
View solution
Q. By using which function does the buffer are automatically flushed?
View solution
Q. How many parameters are available in the function setbuf?
View solution
Q. What is the main feature of locale in C++?
View solution
Q. Which objects information is loaded in locale object?
View solution
Q. How many categories are available in facets?
View solution
Q. What kind of locale does every program is having in C++?
View solution
Q. What will the monetary facet will do?
View solution
Q. Which header file is used with input and output operations of C in C++?
View solution
Q. Which will be used with physical devices to interact from C++ program?
View solution
Q. How many streams are automatically created when executing a program?
View solution
Q. How many indicators are available in c++?
View solution
Q. What is the benefit of c++ input and output over c input and output?
View solution
Q. To which type does the numeric limits are suitable?
View solution
Q. Where does the member should be defined if it is used in the program?
View solution
Q. What will the max function in the numeric limit will return for type float?
View solution
Q. Which header file is used for the numeric limits in C++?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!