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


Please Help Members By Posting Answers For Below Questions

Is c++ a good beginners programming language?

672


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

726


Explain the volatile and mutable keywords.

716


What is the best c++ book?

802


Explain how overloading takes place in c++?

661






Why are arrays usually processed with for loop?

864


Is swift faster than c++?

648


What is the use of data hiding?

685


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3798


What is the full form of india?

668


Differentiate between a pointer and a reference with respect to c++.

795


What is an iterator?

776


Why ctype h is used in c++?

619


What is overloading unary operator?

723


What are the syntactic rules to be avoid ambiguity in multiple inheritance?

758