设有下面的过程: Function Func(a As Integer,b As Integer) As Integer Static m As Integer, i As Integer i = 2 i = i + m + 1 m = i + a + b Func = m End Function 在窗体上添加一个命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Dim k As Integer, m As Integer, p As Integer k=4 : m=1 p=Func(k,m) Print p; p=Func(k,m) Print p End Sub 程序运行后,单击命令按钮 Command1 ,输出结果为________。
发布于 2021-03-23 11:37:15
【单选题】
A 8 20
B 8 17
C 8 8
D 8 16
查看更多
- 体验AI问答!更聪明、超智能!
- 一款基于GPT的超级AI助手,可以对话、创作、写文案!