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
Which should be more useful: the protected and public virtuals?
In the derived class, which data member of the base class are visible?
Explain the operation of overloading of an assignment operator.
Explain "const" reference arguments in function?
Is it possible to have a recursive inline function in c++?
What does the linker do?
Write some differences between an external iterator and an internal iterator?
Write a program in C++ for Fibonacci series
Can we get the value of ios format flags?
Explain the difference between struct and class in terms of access modifier.
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
How much do coding jobs pay?
What are the two main components of c++?
What is an accessor in c++?
What is the main function c++?