|
本题添加时间:2023/4/3 12:59:00 |
|
圆梦客服:王老师 19139051760(微信同号) 19139051760(微信同号) |
【单选题】 下面程序的输出结果是:
#include using namespace std; int main () { char a[]="AAaaBB9EMW"; int i,c; for(i=2;(c=a[i])!=.\0.;i++) { switch(c) { case .a.:putchar(.B.);continue; case .9.:break; case 9:putchar(.A.); case .E.: case .L.:continue; default:putchar(c);continue; } putchar(. .); } putchar(.\n.); return 0; }
A、 AABBMW
B、 BBBB MW
C、 AABBBB MW
D、 AABBBBMW
|
答案是:正确答案: B
出自
兰州工业学院-计算机语言(C语言) 超星系统
兰州工业学院
|
更多试题>>>>
1、[单选题,0.6分] 根据《儿童权利公约》精神,儿童权利保护工作首先应作为( )
A.家庭职责
B.学校职责
C.政府行为
D.社会行为
2、【单选题】
下面程序的输出结果是:
#include
using namespace std;
int main ()
{ int a[]={4,0,2,3,1},i,j,t;
for(i=1;i<5
3、[单选题,0.6分] 在家庭之外成立学前公共教育机构的需求产生于( )
A.原始社会后期
B.农业社会早期
C.工业社会早期
D.现代社会初期
4、5
【判断题】We seach a very beautiful place.
我的答案:√
5、【单选题】
以下程序的输出结果是:
void main()
{
int i,j,n,a[5]={3,4,1,2,-6};
for(i=0;i<5;i++)
for(j=i+1;j<
|
|