Home Segments Index Top Previous Next

Chapter 21:

How To Access Array Elements
Using Pointers

In Chapter 19, you started to learn about pointers. You learned, in particular, that pointer parameters enable you to circumvent C's call-by-value convention by which parameters are copied into at call time and out of at return time. In this chapter, you learn that pointers also provide an alternate way—often a more concise way—to access array elements.