Select the correct option to test your answer:
More Computer Questions
Recursion is a method in which the solution of a problem depends on . . . . . . . .
What is the result of the expression &array[0] in C, where array is an integer array?
In ggplot2, what function is used to create a scatter plot?
When the time to establish link is large and the size of data is small, the preferred mode of data transfer is
What happens when this C++ program is compiled? #include <iostream> #include <string> #include <cstdlib> using namespace std; class A { int a; public: A(){} }; class B: public A { int b; public: B(){} }; void func() { B b; throw b; } int main() { try{ func(); } catch(A a){ cout<<"Caught A Class\n"; } catch(B b){ cout<<"Caught B Class\n"; } }