#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++;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdHlwZWRlZiBzdHJ1Y3QgewoJaW50IHg7CglpbnQgeTsKfSBQb2ludDsKdm9pZCBmdW4oUG9pbnQgJik7CmludCBtYWluKCkKewoJUG9pbnQgcDsKCXAueCA9IDEyOwoJcC55ID0gMTA7CglmdW4ocCk7CglyZXR1cm4gMDsKfQp2b2lkIGZ1bihQb2ludCAmcCkKewoJcC54Kys7CglwLnkrKzsKfQ==