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 one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
How would perform Pattern Matching in C++?
What are the differences between the function prototype and the function defi-nition?
How can you specify a class in C++?
Is c++ a low level language?
Why are arrays usually processed with for loop?
What is an operator function? Describe the function of an operator function?
Is c++ a programming language?
Can c++ do everything c can?
When should we use multiple inheritance?
What is the difference between cin.read() and cin.getline()?
Why is null pointer used?
What is the use of "new" operator?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?