第1题
A.abc
B.'a''b'
C.abc
D.ab
第2题
#include
void main0
int x=5;
switch(2*x-3) {
case 4: printf("%d "x);
case 7: printf("%d ",2*x+1);
case 10: printf("%d ",3*x-1); break;
default: printf("%s"," default/n");
}
}
____________________
第3题
A.printf("%s",s);
B.for(i=0;i<9;i++)printf("%c",s[i]);
C.puts(s);
D.for(i=0;i<9;i++)puts(c[i]);
第4题
A.按快捷键【Ctrl】+【S】
B.按快捷键【Ctrl】+【N】
C.按快捷键【Ctrl】+【O】
D.执行“文件”-“打开”命令
第5题
A.xyabcAB
B.abcABz
C.ABabcz
D.abcdABCD
第6题
写出下列程序段的输出结果。(假设此栈中元素的类型是char)
voide main()
{stack s;
char x,y;
InitStack(s)
x=‘1’,y=‘0’
push(s,x);
push(s,x);
push(s,y);
push(s,x);
push(s,‘e’);
push(s,x);
pop(s,x);
push(s,‘h’);
while(!stackEmpty(s))
{pop(s,y);
printf(y);
}
prinft(x)
}
第7题
A.‘a',7,‘b',1,2]
B.[[1,2],7,‘a',‘b’]
C.[1,2,‘a’,7’,‘b’]
D.[‘a',7,‘b’,[1,2]]