If there are two catch statements, one for base and one for derived, which should come first?



If there are two catch statements, one for base and one for derived, which should come first?..

Answer / Jafar Ali

The catch statement for the base class should come before the catch statement for the derived class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What do you mean by early binding?

1 Answers  


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

1 Answers  


What is the basic concept of c++?

1 Answers  


program explaining feautures of c++

1 Answers   Satyam,


explain the reference variable in c++?

1 Answers  


What is the benefit of c++?

1 Answers  


What are multiple inheritances (virtual inheritance)?

1 Answers  


Why we use #include iostream in c++?

1 Answers  


What are default parameters? How are they evaluated in c++ function?

1 Answers  


What are the two types of comments?

1 Answers  


What is the difference between = and == in C?

20 Answers   Christ University, Intel,


When does a name clash occur in c++?

1 Answers  


Categories