Example:
double square( double x ) // Function header { double r; r = x * x; // Function body return ( r ); }
because:
(Which one do you execute ????)
double square( double x ) ; // Function declaration
(It has the data type information of all parameter variables and the data type of the return value)
However:
float f( float x ); float f( float x ); int main( int argc, char *argv[] ) { float a, b; a = 2.0; b = f( a ); printf("b = %f\n", b); }