Section 9.8
Changeable parameters implemented by pointers

Changeable parameters are parameters to subroutines, set up so that any change to those parameters' values inside the subroutine is reflected in the calling program's variables. Not all languages permit changeable parameters, but C does, and it accomplishes that by using pointers.

Start Reading

next section

  [Full page version] [Review questions ...answers] [Section map] [Chapter 9 home] [Book home]