✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
class Base {
...
public: void f ();
private: int * baseID;
};
class Derived: public Base {
...
public: void foo ();
private: int derivedID;
};
Derived my1;
int x;
my1.baseID = & x;
(C++)