当前位置:IT认证>BASIC题库

问题:[选择题]

[单项选择题] 单击一次窗体之后,下列程序代码的执行结果为______ 。 Private Sub Command1_ Click()Dim a As Integer, b As Integer, c As Integera = 1: b = 2: c = 4Print Value(a, b, c) End Sub Function Num(x As Integer, y As Integer, z As Integer)Num = x * x + y * y + z * z End Functi


A.21
B.23
C.19
D.35

参考答案: B

  参考解析

微信端