Will a catch statement catch a derived exception if it is looking for the base class?
No Answer is Posted For this Question
Be the First to Post Answer
Write a C++ Program to Generate Random Numbers between 0 and 100
What is 'Copy Constructor' and when it is called?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What are the two shift operators and what are their functions?
How can we access protected and private members of a class?
State two differences between C and C++.
Why seem interrupt handlers as member functions to be impossible?
Why is polymorphism useful?
What is meant by const_cast?
What is abstraction c++?
catch(exception &e) { . . . } Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to? a) cout << e.type(); b) cout << e.name(); c) cout << typeid(e).name(); d) cout << e.what(); e) cout << e;
What is the difference between reference type and pointers.