1.

What is the output of this program?
#include <iostream>
using namespace std;
int main ()
{
try
{
throw 15;
}
catch (int e)
{
cout << "Exception occurred..." << e << endl;
}
return 0;
}

A. 15
B. Exception occurred...
C. Compilation Error
D. Exception occurred...15
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs