Point* move(Point* p, int d); require int Point::x Point* move(Point* p, int d) { p.x += d; return p; }