// Reference Parameters
#include <iostream>
using namespace std;
void f(float& x);
int main()
{
	float x = 3;
	f(x);
	cout << x << endl;
	return 0;
}

void f(float& x /* x is input and output parameter */)
{
	x *= x;
	cout << x << endl;
}
