MCQOPTIONS
Saved Bookmarks
| 1. |
#include <iostream>using namespace std;int main () { try { int* myarray = new int[1000]; cout << "Allocated"; } catch (exception& LFC) { cout << "Standard exception: " << LFC.what() << endl; } return 0;} 18.What will be the output of the following program? |
| A. | out of range |
| B. | bad type_id |
| C. | bad allocation |
| D. | none of the mentioned |
| Answer» B. bad type_id | |