KPIT Technologies interview question

How to delete pointers?