[单项选择题] 下列程序执行后,执行的结果是______ 。Dim M(2) For i = 1 To 2M(i) = 0 Next i k=2 For i = 1 To k For

15 查阅

[单项选择题] 下列程序执行后,执行的结果是______ 。

Dim M(2)

For i = 1 To 2

M(i) = 0

Next i

k=2

For i = 1 To k

For j = 1 To k

M(j) = M(i) + 1

Print M(k):

Next j

Next I

A.1234

B.0123

C.0223

D.2345

参考答案:

C

计算机考试