Which of the following is the most general exception handler that catches exception of ‘any type’?
a. catch(std::exception)
b. catch(std::any_exception)
c. catch(…)
d. catch()
Ans: c
b. catch(std::any_exception)
c. catch(…)
d. catch()
Ans: c
-------
Post a Comment