What is the difference between error and exception?
(a) Both are the same
(b) Errors can be handled at the run-time but the exceptions cannot
(c) Exceptions can be handled at the run-time but the errors cannot
(d) Both can be handled during run-time
I have been asked this question in an interview for internship.
I would like to ask this question from Exception Handling in chapter Derived Classes, Templates & Exception Handling in C++ of C++