No, even when pointing to an instance of a derived class, you cannot access any members of derived classes using base class pointers.
However, those values are accessible via derived class methods. Make careful to declare the methods in your base class as virtual. The public and protected members of a base class can be called in order to access the private members, which are never directly available from derived classes. Because a pointer is a type of base class and may access all of the public functions and variables of the base class, it is referred to as a binding pointer.
Learn more about variables here-
https://brainly.com/question/13375207
#SPJ4