C++ MQCs with Explanation ( EXCEPTION HANDLING)

Which of the following events could throw an exception?

  1. Division by zero
  2. Array subscripts out of bounds
  3. Shortage of memory space available to satisfy a new request
  4. All of the above



Answer: 
Option d: All of the above

Explanation Here

Post a Comment

0 Comments