catch(exception &e)
{
. . .
}
Referring to the sample code above, which one of the
following lines of code produces a written description of
the type of exception that "e" refers to?
a) cout << e.type();
b) cout << e.name();
c) cout << typeid(e).name();
d) cout << e.what();
e) cout << e;
Answers were Sorted based on User's Feedback
What is exception handling in C++?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
What flag means?
What are inline functions?
Is java the same as c++?
what is the difference between overloading & overriding? give example.
Should I learn c++ c?
Will c++ be replaced?
What is the difference between a pointer and a link in c ++?
Describe friend function & its advantages.
What are protected members in c++?
What is Namespace?