问题 单项选择题

以下不构成无限循环的语句或者语句组是______。
(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;

答案

参考答案:A

单项选择题
单项选择题