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;
Answer Posted / santhoo035
ans:c
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is c++ used for in games?
What is code reusability in c++?
What is a manipulative person?
Explain the difference between struct and class in terms of access modifier.
Explain how overloading takes place in c++?
Can we declare a base-class destructor as virtual?
Explain what are single and multiple inheritances in c++?
What is the use of "new" operator?
What is function overloading in C++?
What is purpose of new operator?
What is a class template in c++?
What is virtual table?
Can comments be longer than one line?
How do I download c++?
What is a dynamic binding in c++?