Computer PPSC
In C++, exception handling is targeted at
Explanation
C++ exception handling with try, catch and throw deals with errors that occur while the program is running, such as division by zero or invalid input. Compile-time and syntax errors are caught by the compiler before execution.
Related facts:
try encloses code that may throw an exception.catch handles the thrown exception.
Compiler errors must be fixed before the program can run.
Exam tip: Exception handling is for run-time errors only.