1.

What is the output of this program?
#include <iostream>
#include <exception>
#include <cstdlib>
using namespace std;
void TerminateFunction()
{
cout << "terminate handler called...";
abort();
}
int main (void)
{
set_terminate (TerminateFunction);
throw 0;
return 0;
}

A. Compilation Error
B. Runtime Error
C. terminate handler called...
D. Aborted
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs