1.

What is the output of this program?
#include <iostream>
using namespace std;
int main()
{
try
{
throw 13;
}
catch (int ex)
{
cout << "Exception number: " << ex << endl;
return 0;
}
cout << "No any Exception..." << endl;
return 0;
}

A. Exception number: 13
B. 13
C. Compilation Error
D. Runtime Error
E. None of these
Answer» B. 13


Discussion

No Comment Found

Related MCQs