Select the correct option to test your answer:
More Computer Questions
Which of the following is not the value for align attribute?
Which component is responsible for converting bytecode into machine specific code?
With what data structure can a priority queue be implemented?
A browser is a
What will be the output of the following C++ code? #include <iostream> #include <string> #include <cstdlib> using namespace std; void func(int a, int b) { if(b < 1){ throw b; } else{ cout<<"Product of "<<a<<" and "<<b<<" is: "<<a*b<<endl; } } int main() { try { try { func(5,-1); } catch(int b) { if(b==0) throw "value of b is zero\n"; else throw "value of b is less than zero\n"; } } catch(const char* e) { cout<<e; } }