Bank of America interview question

Exception handling in c++