下列程序运行的结果为()。 Public Sub f(n%, ByVal m%)...) Print x, y End Sub
举一反三
- 单击命令按钮时,下列程序代码的运行结果为()。 Public Sub Procl...) Print x; y End Sub
- 运行以下程序,显示的结果为()。Public Sub Sp(...y) Print x, yEnd Sub
- 如下程序的运行结果是【1】. Private Sub Command1_Click() Dim x As Integer x = 12 f2 x Print x End Sub Public Sub f2(n As Integer) n = n Mod 10 End Sub
- 下面过程运行后显示的结果是()。Private Sub f1(ByVal n%, m%)n = n Mod 10m = m 10End SubPrivate Sub Command1_Click()Dim x%, y%x = 12: y = 34Call f1(x, y)Print x, yEnd Sub
- 下面程序运行后,点击窗体,变量 x和y的值分别为( )、( ) Private Sub Form_Click() Dim x, y As Integer x = 5: y = 10 nc x, y Print "x="; x; "y="; y End Sub Private Sub nc(ByVal a%, b%) a = a + b b = a a = a * b End Sub