设有如下程序:
Private Static Function Fac(n As Integer)As Integer
Dim f As Integer
f=f+n
Fac=f
End Function
Private Sub Form_Click( )
Dim I As Integer
For 1=2 To 3
Print"#";I&“=”&Fac(1)
Next I
End Sub
程序运行后,单击窗体,在窗体上显示的是
A.#2=2
#3=3
B.#2=2
#3=5
C.#;2=2
#;3=3
D.#;2=2
#3;=5