Which of the following is the most general exception handler that catches exception of ‘any type’? | CPP MCQs

a. catch(std::exception)
b. catch(std::any_exception)
c. catch(…)
d. catch()

Ans: c

0 comments:

Post a Comment

Blogger news