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
What is time h in c++?
What are the effects after calling the delete this operator ?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
Write about all the implicit member functions of a class?
What is the Difference between "C structure" and "C++ structure"?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
What is the need of a destructor? Explain with the help of an example.
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
Which algorithm do you like the most? Why?
What is size of a object of following class? class Foo { public: void foo(){} }
What is #include sstream?
What is atoi?