Comments for this answer: Both of us have given the correct answers but the only difference is I have worked on Windows enviroment in which only 2 bytes are allocated for int. As I answered this questions considering many of us are working on windows environment. You are talking for UNIX environment. Hope that this you must have got this.
delete p. p actually points to a derived class. delete p. p actually points to a derived class.