#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/11/30 06:29:31
xŐ
0D%T*i$/4b+YJfZˆٙeXw}ܬ&Z`i((&X 殍utS.=uB0m
rr}t
1SsF4wL/QpA(??_n& f
#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;
}