Memory leak in C/C++ @mycodeschool
Memory leak in C/C++  @mycodeschool
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
Memory leak in C/C++Why recursion is not always goodSelection sort algorithmData structures: Binary TreeData Structures: List as abstract data typeLinked List in C/C++ - Insert a node at nth positionPointer types, pointer arithmetic, void pointersData structures: Introduction to Doubly Linked ListBubble sort algorithmPrint elements of a linked list in forward and reverse order using recursionReverse a linked list using recursionPointers as function arguments - call by reference
mycodeschool |

Memory leak in C/C++

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER