Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learn C/C++ programming
·
Module 2
Pointers and Memory Management in C
1
Understanding Pointers and Memory Addresses
Explain what a pointer is and how it stores a memory address
2
Pointers: Address-of and Dereference Operators
Use the address-of (&) and dereference (*) operators
3
Pointers for Pass-by-Value and Pass-by-Reference
Pass arguments to functions by value and by reference using pointers
4
Pointer Arithmetic for Array Traversal
Use pointer arithmetic to traverse arrays
5
Stack vs. Heap Memory
Explain the difference between stack and heap memory
6
Dynamic Memory Management with malloc() and free()
Allocate and deallocate dynamic memory using malloc() and free()
7
Common Pointer Bugs and How to Fix Them
Identify and fix common pointer bugs: null dereference, dangling pointers, and memory leaks
Previous module
C Foundations and Compilation
Next module
C Data Structures and Program Organization