Listing 4 This function passes an address

int function_expecting_pointer_to_int( int *p_input_value);

void calling_function(void)
   {
   int i;
   function_expecting_pointer_to_int(&i);
   }

int function_expecting_pointer_to_int( int *p_xinput_value)
   {
   int local_variable;
   /* Do something with it */
   local_variable = *p_input_value;
   ...
   }

/* End of File */