单项选择题

在窗体中添加一个名称为Commandl的命令按钮,然后编写如下程序:Public x As Integer Private Sub Command 1_Click() x=3 Call f1 Call f2 MsgBox x End SubPrivate Sub f1() x=x*xEnd SubPrivate Sub fz0 Dim x As Integer x=x+4End Sub窗体打开运行后,单击命令按钮,则消息框的输出结果为( )。

A.3
B.7
C.9
D.16
题目列表

你可能感兴趣的试题

微信扫码免费搜题