To invoke the virtual toString() function defined in GeometricObject from a Circle object c, use : A. ((GeometricObject*)c)->toString(); B. c.super.toString() C. (GeometricObject*)c->toString(); D. c->GeometricObject::toString()
When using polymorphic functions(virtual) in order to access the BASE class version of the function from WITHIN the Derived class one would simply say "Base::functionName()".
For e.g:
class CGeometricObject { public: virtual void toString() { // do something.. } };
class CCircle : public CGeometricObject { public: void toString() { CGeometricObject::toString(); // call BASE class version of toString (first) } }