Mailing the story:
Pointers and memory leaks in C
In this article you'll learn about the types of pointer operations that can cause memory corruption and you'll also examine some scenarios that show what to consider while working with dynamic memory allocation.