单项选择题

下面程序段执行的结果是
Dim i As Integer,S As Integer
S=0
For i=1 to 10 step 1
S=S+i
Next i

A.S=0
B.S=10
C.死循环
D.S=55