#Exception handling in c ++ :
Compile time errors:
Errors caught during compiling time is called as compile time errors.
spelling mistake, syntax errors, wrong import class etc....
programmer/developer
Run time errors(Logical Error/Exception):
An exception caught during run time and also creates issue like program stops abnormally.
Exception handling in c++ is a process to handle runtime errors.
3 keywords: try, catch, throw
throw: program throws an exception when a program occurs/show. We can use "throw" keyword.
catch: program catches an exception with an exception handler at place in a program where programmer want to handle the problem/issue. we can use catch keyword.
try: try block to identify the code for which a particular exceptions will be activated/generated.
Exception handling:
--------------------