-->
当前位置:首页 > 题库

单选题:请读程序:

Luz5年前 (2021-05-10)题库536
请读程序: @[C](2)
```
#include
int main()
{
int a=1,b=2,c=3;
++a;
c+=++b;
{
int b=4,c;
c=b*3;
a+=c;
printf("first:%d,%d,%d\n",a,b,c);
a+=c;
printf("Second:%d,%d,%d\n",a,b,c);
}
printf("third:%d,%d,%d\n",a,b,c);
return 0;
}
```
该程序的输出是___。
A.
first: 12,4,12
Second: 26,4,12
third: 4,3,6
B.
first: 14,4,12
Second: 26,12,12
third: 26,3,4
C.
first: 14,4,12
Second: 26,4,12
third: 26,3,6
D.
first: 14,4,12
Second: 26,6,12
third: 26,4,6




A.
first: 12,4,12
Second: 26,4,12
third: 4,3,6
B.
first: 14,4,12
Second: 26,12,12
third: 26,3,4
C.
first: 14,4,12
Second: 26,4,12
third: 26,3,6
D.
first: 14,4,12
Second: 26,6,12
third: 26,4,6


答案:C