Dim y As Integer
Private Sub Command1_Click()
Dim x As Integer
x=2
Text1.Text= p2(p1(x),y)
Text2.Text= p1(x)
End Sub
Privage Function P1(x As Integer) As Integer
x =x+y:y=x+y
P1=x+y
End Function
Private Function P2(x As Integer, y As Integer) As Integer
P2= 2*x+y
End Function
当单击1 次和单击2次命令按钮后,文本框Text1和Text2内的值分别是(C)
A)2 4
2 4
B)2 4
4 8
C)10 10
58 58
D)4 4
8 8
高手请告诉我详细解题过程!!!