Home Segments Index Top Previous Next

Chapter 20:

How To Use Pointer Parameters
To Alter Values

You have learned that C's call-by-value convention creates a wall around functions, preventing inside changes from inadvertently affecting computations done outside. Sometimes, you may want to circumvent the effect of the call-by-value convention by using a pointer parameter to get your hands on an otherwise inaccessible object.