Consider the below class :
class Test
{
public:
    void Func1()
    {
        cout << "Func1 called";
    }
    virtual void Func2()
    {
        cout << "Func2 called";
    }
};
int main()
{
    Test* test = NULL;
    test->Func1();
    test->Func2();
}
this does not print anything , however if call to Func2 is commented , it prints "Func1 called"
 
    