September 2025
Intermediate to advanced
552 pages
14h 5m
English
Pointers present us with a certain abstraction of the environment and state in which our program is executed, the C memory model. We may apply the unary operator & to (almost) all objects1 to retrieve their address and use it to inspect and change the state of our execution.
This access to objects via pointers is still an abstraction because, in C, no distinction of the “real” location of an object is made. It could reside in your computer’s RAM, on a disk file, or correspond to an I/O port of a temperature sensor on the moon; you shouldn’t care. C is supposed ...
Read now
Unlock full access