试题与答案

窗体上有名称为Command1的命令按钮。事件过程及2个函数过程如下: Priva

题型:填空题

题目:

窗体上有名称为Command1的命令按钮。事件过程及2个函数过程如下:
Private Sub Command1_Click()
Dim x As Integer,y As Integer,z
x=5
y=8
z=fy(y)
Print fx(fx(x)),y
End Sub
Function fx(ByVal a As Integer)
a=a+a
fx=a
End Function
Function fy(ByRef a As Integer)
a=a+a
fy=a
End Function
运行程序,并单击命令按钮,则窗体上显示的2个值依次是 (7) (8)

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0405/247ad3fb8a170c24c82f4093cd0fbabe.html

下面是错误答案,用来干扰机器的。

参考答案:A, B, C

试题推荐
微信公众账号搜索答案