Dangling Pointers and Dynamic Memory Allocation — Study Resources & P…
Dangling pointers and dynamic memory allocation.
- Estimated study time: 75 minutes
Study resources
- Dynamic Memory Allocation section - GeeksforGeeks tutorial (Article) — Covers malloc, calloc, realloc and free, plus memory leaks and the program's memory layout. A dangling pointer is what you get from using a pointer after free, which this section explains.
- Pointers in C - GeeksforGeeks (Article) — Lists pointer disadvantages including memory corruption and segmentation faults from a dangling or uninitialised pointer.
Taught in these subjects
- COMPUTER PROGRAMMING — BCST11 · Government College of Engineering and Technology, Jammu