logo

Crowdly

Дано визначення класів і об’єктів: class C1 {           virtual void f(){...

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

Дано

визначення класів і об’єктів:

class C1 {

          virtual

void f(){}

};

class C2: public C1 {

};

C1 *a = new C2();

      Навести приклади, як в програмі можна

визначити справжній тип об’єкта a.

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

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