fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int e;
  6. try {
  7. throw 20;
  8. } catch (int) {
  9. cout << "hi";
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 4360KB
stdin
Standard input is empty
stdout
hi