C++ Pointers & Functions Question:

Tell me what happens when a pointer is deleted twice?

Tweet Share WhatsApp

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 PDF Read All 32 C++ Pointers & Functions Questions
Previous QuestionNext Question
What is void pointer using C++?Can you please explain the use of this pointer?