Access member variables of derived class object pointed to by a pointer to its base class
<p>I have one base class and two classes derived from it. I have several virtual functions in the base class so I create a pointer to the base class and use this pointer to access these methods.</p>

<p>Now I want to access member variable of derived class (this variable is not present in the base class) using the pointer to base class which points to a derived class object.</p>

<p>Can this be done?</p>

<p>Please point me to material which can answer this question</p>

<p>Thank You</p>
