Google News
logo
CPP - Quiz(MCQ)
What is an exception in C++ program?
A)
A problem that arises during compilation
B)
A problem that arises during the execution of a program
C)
Also known as semantic error
D)
Also known as the syntax error

Correct Answer :   A problem that arises during the execution of a program


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.

Advertisement