1
What will be the output of the program?
#include <iostream>
using namespace std;
int main() {
try {
throw 42;
} catch (int e) {
cout << "int " << e << endl;
} catch (...) {
cout << "other" << endl;
}
return 0;
}Easy