![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
下列程序段执行后的结果是()int num=1;whlle(num<=3) printf(“%d,”++num)
A.1,2
B.2,3
C.1,2,3
D.2,3,4
![](https://static.youtibao.com/asksite/comm/h5/images/m_q_a.png)
D、2,3,4
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.1,2
B.2,3
C.1,2,3
D.2,3,4
D、2,3,4
下面程序段的执行结果是()。
int a[] = { 2, 3, 4, 5, 6 };
for (int i = a.length - 1; i >= 0; i--)
System.out.print(a[i] + "");
A.true
B.false
C.1
D.0
A.1,2,3
B.3,1,2
C.1,3,2
D.2,3,1