单项选择题

下列不构成无限循环的语句或语句组是( )。

A.n=0; do {++n;} while (n<=0);
B.n=0; while (1) {n++;}
C.n=10; While (n); {n--;}
D.for(n=0, i=1; ;i++)n+=i
题目列表

你可能感兴趣的试题

微信扫码免费搜题