What is the output of the following snippet? #include <iostream> #include <exception> using namespace std; int main() { try { throw 2./4; } catch(int i) { cout << i; } return 0; } Compilation fails0.5Execution fails0 What is the output of the following …
Read More »