A.9 B.8 C.3 D.2
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.2,1 B.2,2 C.2,5 D.5,2