#include void fun(int a,int b) {int t; t=a;a=b;b=t; } main() {int c[6]={1,2,3,4,5,6},i;for(i=0;i
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 00:06:14
x)SK)MIU(LQH++QHI
Z6:6:ȩUMӀ&GVdZidXg$lgiOxɎs=ݾ~ Ϧm+xMɮ%z=tƧ{6w)HE<;/FP
#include void fun(int a,int b) {int t; t=a;a=b;b=t; } main() {int c[6]={1,2,3,4,5,6},i;for(i=0;i
#include void fun(int a,int b) {int t; t=a;a=b;b=t; } main() {int c[6]={1,2,3,4,5,6},i;
for(i=0;i
#include void fun(int a,int b) {int t; t=a;a=b;b=t; } main() {int c[6]={1,2,3,4,5,6},i;for(i=0;i
还是1 2 3 4 5 6啊传值调用,传递后的变量在栈上面已经是新的变量了,交换不影响原来的值