O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

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

The aim of this chapter is to provide an introduction to pointers in C. You’ve come across pointers in various guises slowly over the preceding chapters in the book, but the book has not yet scratched the surface of how pointers can be used.

After you finish this chapter, you will have covered enough of the C language to begin serious programming tasks in C. Pointers are useful in manipulating lists of information, memory blocks, and arrays such as strings.

In order to explain the way that pointers work and how they can be used, the chapter deals with them using two of the most common applications—strings and lists. It is easier to understand how to use pointers when you see them in action.

You’ve been dealing with pointers ...

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