Q. Which of the following is the most general exception handler that catches exception of ‘any type’? (Solved)
1. catch(std::exception)
2. catch(std::any_exception)
3. catch(…)
4. catch()
- c. catch(…)
1. catch(std::exception)
2. catch(std::any_exception)
3. catch(…)
4. catch()