有以下程序: main() { int i=0,s=0; for(;;) { if(i==3||i==5)continue; if(i==6)break; i++; s+=i; }; printf("%d\n",s); } 程序运行后的输出结果是 ______。
A.10
B.13
C.21
D.程序进入死循环
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)
A.10
B.13
C.21
D.程序进入死循环
第1题
第2题
有以下程序 main () { unsigned int a; int b=-l; a=b; printf("%u",a); } 程序运行后的输出结果是
A.-1
B.65535
C.32767
D.-32768
第3题
有以下程序#include <stdio.h>main{ int x,y; scanf("%2d%ld",&x,&y); printf("%d\n",x+y);}程序运行时输入:1234567,程序的运行结果是
第4题
有以下程序: #include <stdio. h> main() { unsigned int a; int b=-1; a=b; printf(" % u", a);程序运行后的输出结果是()。
A.-1
B.65535
C.32767
D.-32768
第5题
有以下程序:
include”iostream.h”
void main()
{int i=10;
int j=5;
cout((j+i++<<endl;}
的结果为______。
第7题
有以下程序: main() { unsigned int a; int b=-1; a=b; printf("%u",a); } 程序运行后的输出结果是()。
A.-1
B.65535
C.32767
D.-32768
第8题
A.-1
B.65535
C.32767
D.-32768
第9题
有以下程序
#include<stdio.h>
main()
{ int a=7;
while(a--);
printf("%d\n",a);
}
程序运行后的输出结果是
A.-1
B.0
C.1
D.7
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!