Monday, May 4, 2015

Give examples of how memory leaks can occur with c programs?

Question:Give examples of how memory leaks can occur with c programs??

Answer: <B>Answer posted by sonal on 2005-06-08 08:15:23:</B> a memory leak occurs when mem is allocated but never freed . leakes can b caused by using malloc() without using any free().&nbsp;<BR>but leaks can also be caused if a pointer to dynamically allocated memory is delleted overwritten , it can be caused when allocated mem is overwritten accidentally

Tags:Interview Questions, Operating System, Unix Programming,

Please submit your Interview Answer for the above Question via replying to this post. Thank you for visiting to our blog, Have a Good Day!.



Sponsor Advertisement



Customer Relationship Management Software

Customer Resource Management Software

CRM software is designed to help businesses in manageing their customer data and customer interaction, access business information, automate sales, marketing and customer support and also manage employee, vendor and partner relationships. ...

No comments:

Post a Comment