/* * * Demonstrate the difference between arguments and parameters */ #include void main() { float x = 3.5, y = 65.11, z; float half_of(float); /* In this call, x is the argument to half_of() */ z = half_of(x); printf("When z is the argument, the value of z - %f\n", z); /* In this call, y is the argument to half_of() */ z = half_of(y); printf("When y is the argument, the value of z - %f\n", z); } float half_of(float k) { /* k is the paramter. Each time half_of() is called * k has the value that was passed as an argument */ return (k/2); }