#include using namespace std; class C { public: virtual void print(); }; class CC:public C { public: void print() { cout<<"CC"<(new C); //c->print(); }