O'Reilly logo

C Programming: Visual Quickstart Guide by Marc Liyanage, Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required