You should only call a function after it has been declared, otherwise parameter type checking is not performed. However you do not have to define a function when you declare it:
|
float my_mean(float, float, float); /* declares a function my_mean */ |
my_mean from any point below the declaration,
because the compiler can generate code for a call to my_mean
from just the information provided here. The function can now be
defined anywhere, even at the bottom of the program, (or maybe in some
external library).