C++ Pointers & Functions Question:

Tell me what happens when a pointer is deleted twice?

C++ Pointers & Functions Interview Question
C++ Pointers & Functions Interview Question

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.


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