单项选择题
有如下程序: #include<iostream> void fun(int&x,int y){int t=x;x=y;y=t;} int main() { int a[2]={23,42}; fun(a[1],a[0]; std::cout<<a[0]<<","<<a[1]<<std::ndl; return 0; } 执行后的输出结果是()
A.42,42 B.23,23 C.23,42 D.42,23
A.24 B.25 C.27 D.28
A.枚举常量NAME的值为1 B.枚举常量NUMBER的值为1 C.枚举常量MINUS的值为6 D.枚举常量PRINT的值为10