单击命令按钮时,下列程序代码的执行结果为( )。 Private Function FirProc(x As Integer,y As Integer,z As Integer)    FirProc=2*x+y+3*z End F

admin2012-03-22  26

问题 单击命令按钮时,下列程序代码的执行结果为(    )。    Private Function FirProc(x As Integer,y As Integer,z As Integer)       FirProc=2*x+y+3*z    End Funcfion    Private Function SecProc(x As Integer,y As Integer,z As Integer)       SecProc=FirProc(z,x,y)+x    End Funcfion    Private Sub Command1_Click()    Dim a As Integer    Dim b As Integer    Dim c As Integer    a=2    b=3    c=4    Printf SecProc(c,b,a)    End Sub   

选项 A、21
B、19
C、17
D、34

答案A

解析
转载请注明原文地址:https://jikaoti.com/ti/hKO0FFFM
0

最新回复(0)