有如下程序: #include<iostream> usingnamespacestd; voidf1(int&X,int&y){intz=X;x=y;y
有如下程序: #include<iostream> usingnamespacestd; voidf1(int&X,int&y){intz=X;x=y;y=z} voidf2(intX,inty){intz=x;x=y;y=z} intmain(){ intx=10,y=26 f1(x,y); f2(X,y); cout<<y<<endl; return0; } 运行时的输出结果是()。
A.10
B.16
C.26
D.36