I am not quite sure if I understand the meaning of the question very well

I am thinking the answer is yes since we can use dynamic binding?
Is this the right answer?

Thanks

>Is this the right answer?
Somewhat. You can access the derived parts of the object if the pointer points to a derived class object. But you can't do it directly unless those parts are inherited and/or shared through polymorphism. Otherwise you would need to downcast. But technically after downcasting you're accessing the object through a derived pointer. Fun, huh? :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.