1.

Where are standard exception classes grouped?(a) namespace std(b) error(c) catch(d) finalThe question was asked in my homework.Question is taken from Standard Exceptions topic in division Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

Right ANSWER is (a) namespace STD

Easiest explanation - As these are standard EXCEPTIONS, they need to be defined in the standard BLOCK, So it is defined under namespace std.



Discussion

No Comment Found

Related InterviewSolutions