/*Child is inherited from Parent*/ class Parent { public: Parent () //Constructor { cout << \"\\n Parent constructor called\\n\" <<
Yes, if you intend to do delete this in class Parent member functions which is very common when implementing IUnknown::Release() in COM objects.
delete this
class Parent
IUnknown::Release()