Passing a reference of a base class to another function
<p>Hello stack overflowers, 
Here is the problem i am facing, does anyone have solution?</p>

<pre><code>Class A: public class B
{
 // I want to pass a reference of B to Function
}

void ClassC::Function(class&amp; B)
{
  //do stuff
}
</code></pre>
