Does C++ supports exception handling? If so what are the keywords involved in achieving the same. code example
Example: exception handling c++
// exceptions
#include <iostream>
using namespace std;
int main () {
try
{
throw 20;
}
catch (int e)
{
cout << "An exception occurred. Exception Nr. " << e << '\n';
}
return 0;
}