MCQOPTIONS
Saved Bookmarks
| 1. |
Predict the output for the following program#include< iostream>using namesp std; class B1 { public: B1() { cout |
| A. | B1's constructor called,B2's constructor called |
| B. | B2's constructor called,Derived constructor called |
| C. | B1's constructor called,B2's constructor called,Derived constructor called |
| D. | Compiler error |
| Answer» D. Compiler error | |