This commit is contained in:
ada-dmitry
2023-11-18 21:17:47 +03:00
parent 1bbd6527b8
commit a3c32e3438
17 changed files with 147 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
#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;
}