C & Unix

C Pointers and Arrays Explained

7:15

Plays from YouTube. Watch on YouTube

How can changing a value through one variable affect another variable?

Meet C Pointers and Arrays Explained: an original animated lesson in C and Unix systems programming.

We start with address-of, dereferencing and the distinction between a pointer object and its pointee.

From there, we animate contiguous arrays, type-scaled pointer arithmetic, array decay, function parameters, aliasing and invalid accesses.

The big idea: Pointer access is governed by type, bounds and lifetime, not merely a numeric address.

C and Unix explained visually, one concept at a time.