“Magical” Day

Today was a magical day, indeed there were twelve 1’s:

11.11.11
11:11:11

In other senses, it was an ordinary day…

C++: calling methods from constructors

One and a half months ago I posted a question on Java. Now it’s time for its counterpart in C++:

#include <tchar.h>
#include <iostream>

using namespace std;

class Parent
{
public:
    Parent()
    {
        test();
    }

    virtual void test()
    {
        cout << "Hello from parent\n";
    }
};

class Child : public Parent
{
private:
    char *name;

public:
    Child()
    {
        name = "Hi";
    }

    virtual void test()
    {
        cout << "Hello from child " << name <<  "\n";
    }
};

int _tmain(int argc, _TCHAR* argv[])
{
      Child();
      return 0;
}

What does it print?
The answer is obvious if you compile and run it? Can you answer it without running?