1.

How many levels are there in exception safety?(a) 1(b) 2(c) 3(d) 4The question was asked during an online interview.I'd like to ask this question from Error Handling Alternatives in chapter Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

Correct answer is (c) 3

To EXPLAIN: The THREE levels of EXCEPTION safety are basic, STRONG and no throw.



Discussion

No Comment Found

Related InterviewSolutions