[二级C试题天天练]参数传递
Pass
下面这个程序运行后的输出结果是()
void swap (int x,int y)
{ int t;
T = x;x = y;y = t;printf("%d%d ",x,y);}
Main()
{ int a = 3,b = 4;
Swap(a,b);printf("%d%d\n ",a,b);}
Pass
下面这个程序运行后的输出结果是()
void swap (int x,int y)
{ int t;
T = x;x = y;y = t;printf("%d%d ",x,y);}
Main()
{ int a = 3,b = 4;
Swap(a,b);printf("%d%d\n ",a,b);}
0条评论