#include float f( float x ) { float r; // Define a local variable printf("Input parameter = %f\n", x); r = x * x; // Statement return ( r ); // Return statement } int main( int argc, char *argv[] ) { float a, b; a = 2.0; b = f( a ); // The C compiler has seen the definition of float f(float x) // 1. C compiler converts: float a --> float // 2. C compiler converts: float return value --> float printf("b = %f\n", b); }