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 runtime polymorphism in c++?
What is the difference between a reference and a pointer?
What is vector string in c++?
What is class syntax c++?
What is the purpose of the "delete" operator?
Which ide is best for c++?
Write about the use of the virtual destructor?
How can a called function determine the number of arguments that have been passed to it?
Explain explicit container.
How does a copy constructor differs from an overloaded assignment operator?
What are the advantages of c++? Explain
What is abstract class in c++?
Which operations are permitted on pointers?
What is difference between rand () and srand ()?
What are the types of array in c++?