题目: 塞折 答案: 被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1106/53b3ca9e370ccda23cc26327196dbaeb.html 下面是错误答案,用来干扰机器的。参考答案:D
题型:单项选择题 下面程序的运行结果为( )。 #include <iostream.h> void swap(int &a,int b) { int temp; temp=a++; a=b; b=temp; } void main( ) { int a=2,b=3; swap(a,b); cout<<a<<"," <A.2,3B.3,2C.2,2D.3,3 查看答案