全部题库 / VB / 试题详情
单选题 VB
2008-03-28

单击命令按钮时,下列程序的执行结果为 
Private Sub Command1_Click()  
Dim a As Integer, b As Integer, c As Integer  
a=2: b=3: c=4  
Print P2(c, b, A. 
End Sub 
Private Function P1(x As Integer, y As Integer, z As Integer)  
P1=2 * x + y + 3 * z  
End Function 
Private Function P2(x As Integer, y As Integer, z As Integer)  
P2=P1(z, x, y) + x  
End Function (  )。

A.21  
B.19 
C.17  
D.34

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题