Chapter 24: Pointers To Functions

The pointers we have looked at so far have all been pointers to various types of data objects, but it is also possible to have pointers to functions. Pointers to functions are useful for approximately the same reasons as pointers to data: when you want an extra level of indirection, when you'd like the same piece of code to call different functions depending on circumstances.

24.1 Declaring, Assigning, and Using Function Pointers

24.2 What are Function Pointers Good For?

24.3 Function Pointers and Prototypes

Read sequentially: prev next up top

This page by Steve Summit // Copyright 1996-1999 // mail feedback