Listing 5 This function passes a value by reference.

int function_expecting_reference_to_int( int & input_value);

void calling_function(void)
   {
   int i;
   function_expecting_reference_to_int(i);
   }

int function_expecting_reference_to_int( int & input_value)
   {
   int local_variable;
   /* Do something with it */
   local_variable = input_value;
   ...
   }

/* End of File */