在下列选项中,没有构成死循环的程序段是( )。
A.int i=100; for(;;) {i=i%10+1; if(i>10)break; }
B.while(1);
C.int k=0; do{++k;}while(k<=10);
D.int s=12; while(s); --s;
第1题:
在下列选项中,没有构成死循环的语句段是:
A.int i=100;while(1){i=i%100;if(i>=100)break;}
B.for(;;);
C.int k=1000;do{k;}while(k>1000);
D.int s=3;while(s);--s;
第2题:
7、在下列选项中,没有构成死循环的语句段是:
A.int i=100;while(1){i=i%100;if(i>=100)break;}
B.for(;;);
C.int k=1000;do{k;}while(k>1000);
D.int s=3;while(s);--s;
第3题:
【单选题】在下列选项中,没有构成死循环的程序段是______。
A.int i=100; while(1) { i=i%100+1; if(i>100)break; }
B.for(; ;) ;
C.int k=1000; do{++k;} while(k>=10000);
D.int s=36; while(s);--s;
第4题:
在下列选项中,没有构成死循环的程序段是____
A.int i=100; while (1) { i=i%100+1; if (i>100) break; }
B.for(; ; );
C.int s=26; while (s) --s;
D.int k=1000; do {++k; } while (k>=1000);
第5题:
在下列选项中,没有构成死循环的程序段是()
A.int i=100; while(1) {i=i%100+1; if(i>100)break; }
B.for(;;)
C.int k=1000; do { ++k; } while(k>=10000);
D.int s=36; while(s); --s;