C++ Pointers & Functions Question:
Download Questions PDF

Tell me what happens when a pointer is deleted twice?

Answer:

A pointer if not nullified and deleted twice, leads to a trap. If set to null, it wont have much affect if deleted twice.

Download C++ Pointers & Functions Interview Questions And Answers PDF

Previous QuestionNext Question
What is void pointer using C++?Can you please explain the use of this pointer?