Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are dangling pointers? How are dangling pointers different from memory leaks?

Answer Posted / hrpynux@gmail.com

So dangling pointer is nothing but a pointer which is pointing a dynamic variable whose scope is already finished. Memory leak: When there is a memory area in a heap but no variable in the stack pointing to that memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the standard predefined macros?

1165


How do I use void main?

1141


What is graph in c?

1100


How can I manipulate strings of multibyte characters?

1156


What is a class c rental property?

1144


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1405


number of times a digit is present in a number

2078


what are the advantages of a macro over a function?

1191


When is a null pointer used?

1166


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3377


Is void a keyword in c?

1046


Explain what are the __date__ and __time__ preprocessor commands?

1156


swap 2 numbers without using third variable?

1173


‎How to define structures? · ‎

1145


What is a union?

1085