[单选题]

有下列函数过程:

F.unction Func2(a As Integer,b As Integer)As Integer

Staticm As Integer,i As Integer

m=0

i=2

a=i+m+1

b=i+a+b

F.unc2=m

E.nd Function

在窗体上画一个命令按钮,然后编写下列事件过程:

Private Sub Command1_Click()

D.im p As Integer,k As Inmger,m As Integer

k=4

m=1

p=Func2(k,m)

Prim k;m

p=Func2(k,m)

Print k;m

E.nd Sub

程序运行后,单击命令按钮,输出结果是( )。

A.3 6<CR>3 6

B.3 6<CR>3 11

C.3 11<CR>3 6

D.3 11<CR>3 11

参考答案与解析:

相关试题

有下列函数过程:Function Func2(a As Integer,b As