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
Can we use clrscr in c++?
What is a container class? What are the types of container classes in c++?
Which operator cannot overload?
How a macro differs from a template?
How do you master coding?
What are disadvantages of pointers?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?
6 Answers HCL, Integra, IPMC, ORG,
Differentiate between the manipulator and setf( ) function?
What is enum c++?
What does it mean to declare a destructor as static?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)