How must runtime errors be handled in C++
- Runtime errors in C++ can be handled using exceptions.
- This exception handling mechanism in C++ is developed to handle errors in software made up of independently developed components operating in one process and under synchronous control.
- According to C++, any routine which doesn't fulfil its promise throws an exception. Caller who knows the way to handle these exceptions can catch it.