下面程序的输出结果为()。 main() { int a=1,b=0; switch(a) { case 1: switch (b) { case 0: printf("**0**"); break; case 1: printf("**1**"); break; } case 2: printf("**2**"); break; }}
A.有语法错误
B.**0****2**
C.**0****1****2**
D.**0**
A.有语法错误
B.**0****2**
C.**0****1****2**
D.**0**
第1题
A.H\M
B.H\\\115
C.H115
D.无输出
第2题
A.The result is:16 The result is:8.0
B.The result is:8.0 The result is:16
C.The result is:8 The result is:16.0
D.The result is:16.0 The result is:8
第3题
A.程序的输出结果为大写字母A
B.程序的输出结果为小写字母a
C.运行时产生错误信息
D.格式说明符的个数少于输出项的个数,编译出错
第5题
A、8
B、7
C、6
D、5
第6题
A.输出:* * * *
B.输出:# # #
C.#存在语法错误
D.无输出结果
第7题
#include<stdio.h> main() {long int num; scanf("%ld",&num); do { if(【 】 ) printf("%ld",num); scanf("%ld",&num); }while(!num==0);}
A.num/100%10==3
B.num/10%10==3
C.num%100/10==3
D.num%10/10==3
第8题
A.a1+a2+a3=48
B.a1+a2+a3=25
C.a1+a2+a3=10
D.不确定值
第9题
A.2,1,1
B.1,2,1
C.2,2,2
D.2,2,1
第10题
A.有语法错误不能通过编译
B.可以通过编译,但不能通过连接
C.输出:***
D.输出:$$$
第11题
A.-1
B.0
C.1
D.2