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

In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

1159


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1118


Tell me what is null pointer in c?

1013


Why is c so popular?

1118


What is substring in c?

1132


Explain can static variables be declared in a header file?

1104


why we wont use '&' sing in aceesing the string using scanf

2311


Why do we use static in c?

1066


What’s the special use of UNIONS?

1106


How can I open files mentioned on the command line, and parse option flags?

1015


Explain what is the difference between a string and an array?

1101


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2136


Explain 'bus error'?

1014


Does * p ++ increment p or what it points to?

1054


Is it possible to pass an entire structure to functions?

942