单项选择题

假定已经定义了一个过程SubAdd(a As Single,b As Single),则正确的调用语句是( )。

A.Add 12,12
B.Call Add(2*x,sin(1.57))
C.Call Add x,y
D.Call Add(12,12,x)
<上一题 目录 下一题>
热门 试题

单项选择题
下列数组声明正确的是( )。
A.n=5 Dim a(1 to n) As Integer
B.Dim a(10) As Integer ReDim a(1 To 12)
C.Dim a() As Single ReDim a(3,4) As Integer ReDim a(1 to n)As Integer
D.Dim a() As Integer n=5
单项选择题
在运行阶段,要在文本框Text1获得焦点时选中文本框中的所有内容,则对应的事件过程是( )。
A.Private Sub Text1_GotFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
B.Prirate Sub Text1_LosFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
C.Private Sub Text1_Change() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
D.Private Sub Text1_SetFocus() Text1.SelStart=0 Text1.SelLength=Len(Text1.Text) End Sub
相关试题
  • Case Eles
  • 下列语句段在运行时的显示结果是_____...
  • Select Case x
  • 下面语句的输出结果为______。x!=...
  • 块结构条件语句中的必选项是______。