#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
struct w{
int x;
int y;
} p1,p2;
struct w change(struct w);
int main(int argc, char *argv[]) {
struct w p1={1,2};
p2=change(p1);
printf("%d-%d\n",p1.x,p1.y);
printf("%d-%d\n",p2.x,p2.y);
return 0;
}
struct w change(struct w q){
scanf("%d",&q.x);
scanf("%d",&q.y);
return q;
}