title: Where is pure virtual function located in C++?
body: <p>Which virtual table will be pure virtual function located? In the base class or derived class?</p>
  
  <p>For example, what does the virtual table look like in each class?</p>
  
  <pre><code>class Base {
  
    virtual void f() =0;
    virtual void g();
  }
  
  
  class Derived: public Base{
  
    virtual void f();
    virtual void g();
  
  }
  </code></pre>