[二级VB试题天天练]函数过程的定义及调用
文章作者 100test 发表时间 2007:03:10 18:00:10
来源 100Test.Com百考试题网
串的长度是:
A)串中不同字符的个数
B)串中不同字母的个数
C)串中所含字符的个数且字符个数大于零
D)串中所含字符的个数
考点分析:串的概念及特点
VB试题:
Function FirProc(z As Integer,y As Integer,z As Integer)
FirProc=2*x y 3*z
End Function
Function SecProc(x As Integer,y As Integer,z As Integer)
SecProc=FirProc(x,y,z) x
End Function
Private Sub Command1_Click()
Dim a As Integer,b As Integer,c As Integer
a=2:b=3:c=4
Print SecProc(c,b,a)
End Sub
A) 21 B) 19 C) 17 D) 34
考点分析:函数过程的定义及调用。