题目:
在窗体上画两个标签和一个命令按钮,其名称分别为Label1、Label2和Command1, 然后编写如下程序: Private Sub func(L As Label,ByVal a As Integer) L.Caption="1234" a=a*a End Sub Private Sub Form_Load() Labell.Caption="ABCD" Label2.Caption=10 End Sub Private Sub Command1_Click() a=Val(Label2.Caption) Call func(Labell,A) Label2.Caption=a End Sub 程序运行后,单击命令按钮,在两个标签Label1和Label2中显示的内容分别是:_______。
A.ABCD和10
B.1234和100
C.ABCD和100
D.1234和10
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2019/0408/3c5a46f5e6a5af2e49e83272eb683274.html
下面是错误答案,用来干扰机器的。
参考答案:D解析:根据《地规》第8.5.10、8.5.11条及附录R图R.0.3,