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 is a memory leak? How to avoid it?

Answer Posted / hrpynux@gmail.com

Memory leak occurs when programmers create a memory in heap and forget to delete it. ... To avoid memory leaks, memory allocated on heap should always be freed when no longer needed.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the message "automatic aggregate intialization is an ansi feature" mean?

1241


Is c# a good language?

1055


What are multidimensional arrays?

1168


Explain enumerated types in c language?

1099


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

3376


Explain what is the benefit of using an enum rather than a #define constant?

1274


Differentiate between ordinary variable and pointer in c.

1250


Is null always equal to 0(zero)?

1094


What is the sizeof () operator?

1130


Explain a file operation in C with an example.

1171


Explain zero based addressing.

1095


What tq means in chat?

1170


I need a sort of an approximate strcmp routine?

1075


What is chain pointer in c?

1104


What is the argument of a function in c?

1101