Pointers in C/C++

Other Course

Lecture 17: Memory leak in C/C++

Download:    MP4,FLV & 3GP
 
Lecture Details :

See complete series on pointers and dynamic memory in C/C++ here:
http://www.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: http://www.mycodeschool.com

Like us on Facebook: https://www.facebook.com/MyCodeSchool

Follow us on twitter: https://twitter.com/mycodeschool

Course Description :

Introduction to pointers in C/C++ - Working with pointers - Pointer types, pointer arithmetic, void pointers - Pointers to Pointers in C/C++ - Pointers as function arguments - call by reference - Pointers and arrays - Arrays as function arguments - Character arrays and pointers - Pointers and 2-D arrays - Pointers and multidimensional arrays - Pointers and dynamic memory - stack vs heap - Dynamic memory allocation in C - malloc calloc realloc free - Pointers as function returns in C/C++ - Function Pointers in C / C++ - Function pointers and callbacks - Memory leak in C/C++

Other Resources


COURSE Reviews

5 Stars 7
4 Stars 3
3 Stars 0%
2 Stars 0%
1 Stars 2
4.1 Overall Ratings
Top