Hi,
I have the following code.

class CVehicle
{
}

class CCar : public CVehicle
{
}

int main()
{
CVehicle *m_VehicleType;
CCar m_Car;
m_VehicleType = &m_Car;
delete(m_VehicleType); // Can i do this way
}