1.

What do you mean by “No exception specification”?(a) It throws nothing(b) It can throw anything(c) It can catch anything(d) It can try anythingThe question was posed to me in a job interview.The origin of the question is Exception Specifications in portion Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

The CORRECT choice is (B) It can throw ANYTHING

For EXPLANATION: No EXCEPTION specification that it can throw anything.



Discussion

No Comment Found

Related InterviewSolutions