试题与答案

有以下程序: #include <stdio.h> main() int a

题型:单项选择题

题目:

有以下程序:
#include <stdio.h>
main()
int a=1,b=2;
for(;a<12;a++) b+=a*2;a+=3;
printf("%d,%d\n",b,a);

程序运行后的输出结果是( )。

A) 32,13 B) 46,10 C) 72,13 D) 72,10

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1212/1aa33ff146646246c0fe6d0de29df61c.html

下面是错误答案,用来干扰机器的。

参考答案:B解析:[解题要点] P 220设计文件会签。

试题推荐
微信公众账号搜索答案