9.有如下程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/00008115920fdbd2c0f89874dcef4300.png)
该程序的输出结果是( )
A. a=2,b=1
B. a=1,b=1
C. a=1,b=0
D. a=2,b=2
https://www.shititong.cn/cha-kan/shiti/00008132-6116-1366-c0f8-9874dcef4300.html
点击查看答案
5.分析以下程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/00008115921a8ff0c0f89874dcef4300.png)
,下列说法正确的是( )
A. 有语法错,不能通过编译
B. 通过编译,但不能连接
C. 输出****
D. 输出####
https://www.shititong.cn/cha-kan/shiti/00008132-6116-0ab1-c0f8-9874dcef4300.html
点击查看答案
3.下述for循环语句
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/000081357b161619c0f89874dcef4300.png)
( )
A. 判断循环结束的条件非法
B. 是无限循环
C. 只循环一次
D. 一次也不循环
https://www.shititong.cn/cha-kan/shiti/0000813e-e8f3-15c1-c0f8-9874dcef4300.html
点击查看答案
33.已知intk,m=1;执行语句k=-m++;后,k的值是( )
https://www.shititong.cn/cha-kan/shiti/00008112-f313-2472-c0f8-9874dcef4300.html
点击查看答案
17.以下4个选项中,不能看做一条语句的是( )
A. ;
B. a=5,b=2.5,c=3.6;
C. if(a<5);
D. if(b!=5)x=2;y=6;
https://www.shititong.cn/cha-kan/shiti/00008132-6116-254e-c0f8-9874dcef4300.html
点击查看答案
8.假定int类型变量占用两个字节,其有定义:intx[10]={0,2,4};,则数组x在内存中所占字节数是D
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-cfc3-c0f8-9874dcef4300.html
点击查看答案
21.以下程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/000081357b0e6ef0c0f89874dcef4300.png)
的输出结果是( )
https://www.shititong.cn/cha-kan/shiti/0000813e-e8f3-46c9-c0f8-9874dcef4300.html
点击查看答案
16.下列程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/80e7506dfa4940cfae0aed909faf9089.png)
执行后的输出结果是
https://www.shititong.cn/cha-kan/shiti/00008150-0e25-e0b0-c0f8-9874dcef4300.html
点击查看答案
15.若已定义:inta=25,b=14,c=19;以下三目运算符(?:)所构成语句的执行后a<=25&&b--<=2&&c?printf(”***a=%d,b=%d,c=%d\n”,a,b,c):printf(”###a=%d,b=%d,c=%d\n”,a,b,c);程序输出的结果是( )
A. ***a=25,b=13,c=19
B. ***a=26,b=14,c=19
C. ###a=25,b=13,c=19
D. ###a=25,b=14,c=19
https://www.shititong.cn/cha-kan/shiti/00008132-6116-20f3-c0f8-9874dcef4300.html
点击查看答案
32.下列程序
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/5233e170f7444a29a293143fae073ec7.png)
的输出结果是
https://www.shititong.cn/cha-kan/shiti/00008150-0e26-0137-c0f8-9874dcef4300.html
点击查看答案