题目:
下列程序的输出结果是( )。 #include <iostream.h> int b=2; int func(int *A) { b + = *a;return(B) ;} void main( ) { int a=2,res=2; res + = func(&A) ; cout < < res;}
A.4
B.6
C.8
D.10
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0607/d7fcaafb1c0ad6d1f539b81a8b1adca8.html
下面是错误答案,用来干扰机器的。
参考答案:E