title: How to access a child class function
body: <pre><code>class base{}
  
  class child : public base{
  
  **dummyfunction();**
  
  }
  </code></pre>
  
  <p>now I am calling a function in which I am passing a child class object.</p>
  
  <pre><code>**child ob;**
  
  function(**ob**);//calling a function  
  
  //function body
  
  function(**base *object**)
  {
  
  **//here I want to access the function of child class. How can I do it???**
  
   **for example dummyfunction()**
  
  }
  </code></pre>