What is dangling pointers?and what is memory leak?
Answer Posted / shamoona
Dangling Pointer
dangling pointer point to unknown destination
for example
int*ptr;
{
int a=5;
ptr=
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What are the four main data types?
Can we sort map in c++?
What is c++ used for in games?
What is a float in c++?
What are keywords in c++?
What is linked list in c++?
Explain all the C++ concepts using examples.
How do you add an element to a set in c++?
What is the best c++ book for beginners?
What is a constant? Explain with an example.
Difference between overloaded functions and overridden functions
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
Is c++ a dying language?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
Explain virtual destructor?