Lesson 13 of 50
cPointers – Basics
12 mins
Course progress26%
What you'll learn
Keep these ideas in mind as you work through the lesson.
Lesson 13 of 50
c12 mins
Keep these ideas in mind as you work through the lesson.
A pointer holds the memory address of another variable.
int x = 10;
int *p = &x; // p now points to x
printf("%d
", *p); // dereference → prints 10
Key concepts:
& address‑of operator.* dereference operator.int* points to an int.NULL.