Chapter 9. Working with Pointers
Every interesting C program that solves a real-world problem uses pointers and dynamic memory. Together, these two tools enable you to create programs that use more complex data structures than the ones you have seen so far (simple scalar values and arrays of scalar values).
This chapter introduces pointers, a prerequisite for working with dynamic memory, the topic covered in the following chapter. The two concepts—and therefore the two chapters—are closely related. Working with pointers also brings you in closer contact with the machine's low-level workings. For example, you will see and work with addresses of the objects in your computer's memory. This is less abstract than working with variables, and you will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access