Inheritance and virtual member functions
<p>I am not 100% sure the outcome that would occur in my current setup up.</p>

<p>This maybe a stupid question, but I can not see a similar example.</p>

<p>Here is the example code</p>

<pre><code>Class A {

  public:
    virtual Steer* getSomeParticularInfo(){ return m_steer; }

  private:
    Steer* m_steer:
}


Class B: A {

  public:
    virtual Steer* getSomeParticularInfo(){ return m_steer; }

  private:
    Steer* m_steer:
}

Class C: B {

  public:
    //Does not have its own getSomeParticularInfo() member function

  private:
    Steer* m_steer:
}
</code></pre>

<p>My question:</p>

<p>If I call getSomeParticularInfo. Will it come from Class B because it is the most recent derived class or does it come from the base class?</p>

<pre><code>//Inside Class C constructor
C::C(){
  m_steer = getSomeParticularInfo();
}
</code></pre>
