1.

An uncaught handler returns to _______________(a) main function(b) its caller(c) its callee(d) waits there for some timeThe question was posed to me during an interview for a job.This intriguing question comes from Exception Handling topic in chapter Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

Right ANSWER is (c) its callee

To EXPLAIN I would say: Uncaught HANDLER returns to its callee(i.e. the FUNCTION it is CALLED by).



Discussion

No Comment Found

Related InterviewSolutions