mirror of
https://github.com/ada-dmitry/TMP_C712.git
synced 2026-09-24 09:10:16 +00:00
17 lines
248 B
C
17 lines
248 B
C
#include <stdio.h>
|
|
|
|
void move(int *px, int *py, int dx, int dy);
|
|
|
|
int main()
|
|
{
|
|
int x, y, dx, dy;
|
|
int *px = &x, *py = &y;
|
|
|
|
scanf("%d%d%d%d", px, py, &dx, &dy);
|
|
|
|
move(px, py, dx, dy);
|
|
|
|
printf("%d %d\n", *px, *py);
|
|
|
|
return 0;
|
|
} |