单项选择题
若执行以下程序时从键盘上输入9,则输出结果是
(47)
。
main()
int n;
scanf("%d",&n);
if(n++<10)printf("%d\n",n);
elseprintf("%d\n",n- -);
A.11
B.10
C.9
D.8
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
switch语句能够改写为 (44) 语句。
A.for
B.if
C.do
D.while
点击查看答案&解析
单项选择题
以下程序执行后Sum的值是 (48) 。main() int i,sum; for(i=1;i<6;i++)sum+=i; printf( %d n ,sum);
A.15
B.14
C.不确定
D.0
点击查看答案&解析
相关试题
For instance, the line of () wa...
RAM only () the data temporarily...
It had included the handling of pu...
It is called () equipment as wel...
Certain keywords or phrases in a h...