Home Segments Index Top Previous Next

Chapter 15:

How To Solve Definition Ordering Problems with Function Prototypes

You know that C ordinarily requires you to define functions before you use them. Sometimes, however, functions refer to one another, which means you must learn to use C's function prototype mechanism to solve ordering problems.

So that you see the need for function prototypes, you learn about a set of three cooperating functions that provide an alternative to the rabbit-computing function that was introduced in Chapter 14.