Bank of America Interview Question

Exception handling in c++