您现在位置:模拟考场> 湖北自学考试> 公共课> 计算机软件基础> 浏览试题
[单选题]下列程序的输出结果是() int b=2 int func(int a) {b+= a;return(b);} main() {int a=2, res=2; res+=func(&a); printf(“%d\n”,res); }
  • A4
  • B6
  • C8
  • D10
  • 收藏 查看答案