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?



What is a memory leak? How to avoid it?..

Answer / 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

More C Interview Questions

Write programs for String Reversal & Palindrome check

0 Answers   TISL,


What is sizeof array in c?

0 Answers  


Explain what is the heap?

0 Answers  


what is c programming?

3 Answers   TCS,


Which is best book for data structures in c?

0 Answers  


Write the test cases for checking a variable having value in range -10.0 to +10.0?

0 Answers   Bosch,


write a program to delete an item from a particular location of an linear array?

1 Answers  


Explain what does it mean when a pointer is used in an if statement?

0 Answers  


What is equivalent to ++i+++j?

0 Answers  


Is it possible to initialize a variable at the time it was declared?

0 Answers  


write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+

1 Answers   Reliance,


Differentiate Source Codes from Object Codes

1 Answers  


Categories