【单选题】有以下程序代码 : Private Sub Command1_Click () Print fun(10), fun(5) End Sub Private Function fun(n As Integer) As Integer Static t For k = 1 To n t = t + k Next k fun = t End Function 执行 Command1_Click 过程产生...
【单选题】设有以下程序代码: Private Sub Command1_Click () Dim x As String, y As Integer x = " 考试 " y = 1 proc x, y Print " 第 "; y; " 次 "; x End Sub Sub proc ( ByVal a As String, b As Integer ) a = " 参加 " + a b = b + 1 ...
【单选题】有以下程序代码 : Private Sub Command1_Click () Print fun(10), fun(5) End Sub Private Function fun(n As Integer) As Integer Static t For k = 1 To n t = t + k Next k fun = t End Function 执行 Command1_Click 过程产生...