Exceptions are runtime anomalies/ errors or unusual conditions that a program may encounter during its execution. It is important to handle these situations to ensure that the program does not show undefined behaviour during runtime like terminating execution in between.
Read this article to understand Exception handling in C++ in depth
Have a doubt or thought? Join the discussion now
This is a companion discussion topic for the original entry at http://iq.opengenus.org/exception-handling-cpp/