#include <iostream>
using namespace std;

typedef struct {
	int x;
	int y;
} Point;
void fun(Point &);
int main()
{
	Point p;
	p.x = 12;
	p.y = 10;
	fun(p);
	return 0;
}
void fun(Point &p)
{
	p.x++;
	p.y++;
}