• 2022-06-06
    设窗体上有一个Command1命令按钮,还有以下程序代码: Private Sub Command1_Click() Static x As Integer x=x+1 Call proc(x) Print x, End Sub Private Sub proc(a As Integer) Static x As Integer x=x+a:a=x End Sub 程序运行后,3次单击命令按钮,则产生的输出是
    A: 1 2 3
    B: 1 3 5
    C: 1 3 7
    D: 2 4 6
  • 举一反三