问题 单项选择题

有如下程序:   #include   using namespace std;   void f1(int& x,int& y) {int z=x; x=y; y=z;}   void f2(int x;int y) {int z=x; x=y; y=z;}   int main(){   int x=10,y=26;   f1(x,y);   f2(x,y);   cout<

A.10

B.16

C.26

D.36

答案

参考答案:A

选择题
单项选择题