logo

Crowdly

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

class A { public:     virtual void print() { cout << "A"; }; };  class B : public A { public:     void print() { cout << "B"; } }; class E : public A, public B { public:     void print() { cout << "E"; } };  void F() {         E e;     A* a = &e;     B* b = &e;        a->print();         b->print(); };

More questions like this

Want instant access to all verified answers on softserve.academy?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!