adplus-dvertising
frame-decoration

Question

Which header file is used to declare the standard exception?

a.

#include<exception>

b.

#include<except>

c.

#include<error>

d.

none of the mentioned

Answer: (a).#include<exception>

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which header file is used to declare the standard exception?

Similar Questions

Discover Related MCQs

Q. Where are standard exception classes grouped?

Q. How many types of standard exception are there in c++?

Q. Which of the following is best to include under try block?

Q. What are the perdefined exceptions in c++?

Q. A default catch block catches

Q. Adding a derived class to a base class requires fundamental changes to the base class

Q. If you create an instantiation of a class template with an int, and then create a second instantiation with a double, then

Q. The type to be used in an instantiation of a class template follows ________

Q. When an object-oriented program detects an error within a function, the function _________

Q. When you create a derived class and instantiate an object _____

Q. A function in a derived class that has the same name as a function in the parent class

Q. When a function includes a throw statement for errors, the call to the potentially offending function should be placed within a _____ block

Q. In a C++ program, which of the following can be thrown?

Q. You must provide a constructor for a derived class

Q. If a derived class uses the public access specifier, then _____

Q. You _____ write your own container classes

Q. If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is

Q. You separate a derived class name from its access specifier with

Q. To use a template class member function, use the ________ with the instantiation

Q. When a class is derived from another derived class, the newly derived class