How to access a child class function
<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 funtion  

//function body

function(**base *object**)
{

**//here i want to access the funtion of child class. how can i do it???**

 **for example dummyfunction()**

}
</code></pre>
