Q595
What will be the output of the following C++ code? #include using namespace std; class Base public: virtual void print() const = 0; ; class DerivedOne : virtual public Base public: void print() const cout print(); return 0;
A.
121
B.
212
AnswerC.
12
D.
215
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board