Private Sub Command1_Click()
Dim x As Integer, y As Integer, z As Integer
x = 1
y = 2
z = 3
Call sun1(x, x, z)
Call sun1(x, y, y)
Print x; y; z
End Sub
Private Sub sun1(a As Integer, b As Integer, c As Integer)
Static i As Integer
i = a + c + i
a = 3 * c + i
b = 2 * c + i
c = a + b + i
Print a; b; c
End Sub
第一行和第三行的输出结果 答案是7 7 17 和 18 46 17
为何我算出来是10 10 24 和 22 38 24·· 求解