问题
单项选择题
阅读程序: Function F(a As Integer) b=0 Static c b=b+1 c=c+1 f=a+ b+ c End Function Private Sub Command1_Click() Dim S As Integer a=2 For i=1 To 3 Print P(A) Next i End Sub运行上面的程序,单击命令拄钮,输出结果为______ 。
A.4 4 4
B.4 5 6
C.4 6 8
D.4 7 9
答案
参考答案:B