全部题库 / Access / 试题详情
单选题 Access
2014-12-01

阅读下面的程序:
Option Base l
Private Sub swapa0 As Integer
Fori_1t010,2
t=a(i)
a(i)=a(l0一i+1)
a(10-i+1)=t
Nexti
End Sub
Private Sub Form Click0
Dimx00)AsInteger
Fori=l t010
x(i)=*2
Nexti
Swapx0
Fori=l to 10
Debug.Printx(i);
Nexti
EndSub
程序运行后,输出的结果为(  )。

A.1 2 3 4 5 6 7 8 9 10
B.2 4 6 8 10 12 14 16 18 20
C.20 18 16 14 12 10 8 6 4 2
D.显示出错信息

参考答案

C

答案解析

暂无解析