【单选题】运行下面的程序,单击命令按钮Command1,窗体上显示的结果是( )。 Private Sub Command1_Click() Dim x As Integer, y As Integer x = 5: y = 6 Call p1(x, y) Print y End Sub Sub p1(ByVal a As String, ByVal b As String) b = a + b End S...
【判断题】若有如下定义:Structure student Dim Name As String Dim Score As IntegerEnd Structure Dim t,s(9) As StudentDim x As String.y As Integer若要交换结构数组中第一个元素与最后一个元素的值,则如下语句: t=s(0) : s(0) = s(9) : s(9) = t是正确的。