#includevoid f(int y,int *x){ y=y+*x; *x=*x+y;} void main(){ int x=2,y=4;f(y,&x);printf("%d,%d\n",x,y);}
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 23:08:25
#includevoidf(inty,int*x){y=y+*x;*x=*x+y;}voidmain(){intx=2,y=4;f(y,&x);printf("%d,%d\n",x,y);}#incl
#includevoid f(int y,int *x){ y=y+*x; *x=*x+y;} void main(){ int x=2,y=4;f(y,&x);printf("%d,%d\n",x,y);}
#include
void f(int y,int *x)
{
y=y+*x; *x=*x+y;}
void main()
{
int x=2,y=4;
f(y,&x);
printf("%d,%d\n",x,y);
}
#includevoid f(int y,int *x){ y=y+*x; *x=*x+y;} void main(){ int x=2,y=4;f(y,&x);printf("%d,%d\n",x,y);}
#include
//
printf("%d,%d\n",x,y);
return 0;
}