下列循环体的执行次数是( )。 #include<stdio.h> main()
题型:单项选择题
问题:
下列循环体的执行次数是( )。 #include<stdio.h> main() {int i,j; for(i=0,j=1;i<j+1;i+=1,j--) printf("%d\n",j); }
A.3
B.2
C.1
D.0
下列循环体的执行次数是( )。 #include<stdio.h> main() {int i,j; for(i=0,j=1;i<j+1;i+=1,j--) printf("%d\n",j); }
A.3
B.2
C.1
D.0