单项选择题

有下列程序段,其输出结果为( )。 a=0:b=0 For i=-1 To-2 Step-1 For j=1 To 2 b=b+1 Next j a=a+1 Next i Print a;b

A.23
B.-22
C.42
D.24