Uploaded May 2013 | Updated September 2026, 2 weeks ago
See complete series on pointers and dynamic memory in C/C++ here:
youtube.com/playlist?list=PL2_aWCzGMAwLZp6LMUKI3cc7pgGsasm2_
In this lesson, we have explained the concept of memory leak in C/C++. This is a good interview question also. Memory leak happens due to improper use of dynamic memory in a program when we get some memory using malloc and do not free it, when its not being used.
Feel free to drop your comments, feedback and suggestions.
For practice problems and more, visit: mycodeschool.com
Like us on Facebook: facebook.com/MyCodeSchool
Follow us on twitter: twitter.com/mycodeschool
See complete series on pointers and dynamic memory in C/C++ here:
youtube.com/playlist?list=PL2_aWCzGMAwLZp6LMUKI3cc7pgGsasm2_
In this lesson, we have explained the concept of memory leak in C/C++. This is a good interview question also. Memory leak happens due to improper use of dynamic memory in a program when we get some memory using malloc and do not free it, when its not being used.
Feel free to drop your comments, feedback and suggestions.
For practice problems and more, visit: mycodeschool.com
Like us on Facebook: facebook.com/MyCodeSchool
Follow us on twitter: twitter.com/mycodeschool










