InterviewSolution
Saved Bookmarks
| 1. |
What is the output of following code :#include <iostream>using namespace std;int main(){try {throw 10;}catch (char *excp) {cout << "Caught " << excp;}catch (...) {cout << "Default Exception\n";}return 0;}(A) Compiler Error(B) Caught Default Exception(C) Caught Integer Exception(D) Default Exception |
| Answer» | |