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
Why is c++ still popular?
What is the need of a destructor?
Define a constructor?
What is c++ iterator?
write a porgram in c++ that reads an integer and print the biggest digit in the number
How many pointers are required to reverse a link list?
When volatile can be used?
When copy constructor can be used?
what is the difference between overloading & overriding? give example.
Can union be self referenced?
How to tokenize a string in c++?
write a C++ programming using for loop: * * * * * * * * * *