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

Explain which function in c can be used to append a string to another string?

0 Answers  


how to find a 5th bit is set in c program

4 Answers   IBM,


What is extern variable in c with example?

0 Answers  


what is structuer?

4 Answers   LG Soft, Wipro,


What is the difference between scanf and fscanf?

0 Answers  


What is const and volatile in c?

0 Answers  


Program to find the absolute value of given integer using Conditional Operators

6 Answers   N Tech,


what is the different bitween abap and abap-hr?

0 Answers   TCS,


write a program in c to read array check element is present or not?

1 Answers  


What is the use of the restrict keyword?

1 Answers  


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

0 Answers  


How will you allocate memory to double a pointer?

1 Answers  


Categories