C Plus Plus Miscellaneous - Study Mode

[#191] What does a default header file contain?
Correct Answer

(C) declarations

[#192] Which member function is used to determine whether the stream object is currently associated with a file?
Correct Answer

(A) is_open

[#193] In how many ways we can handle errors in any class?
Correct Answer

(B) 2

[#194] How to handle the exception in constructor?
Correct Answer

(A) We have to throw an exception

[#195] What is the full form of vtable?
Correct Answer

(C) Virtual table