What is an exception in C++ program?

a) A problem that arises during the execution of a program
b) A problem that arises during compilation
c) Also known as the syntax error
d) Also known as semantic error

1 thought on “What is an exception in C++ program?”

  1. a
    Explanation: An exception is defined as the problem in C++ program that arises during the execution of the program for example divide by zero error.

Leave a Comment