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

admin2012-03-22  30

问题 单击命令按钮时,下列程序代码的执行结果为(    )。    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://kaotiyun.com/show/fXhp777K
0

最新回复(0)