[二级VB试题天天练]函数过程的定义及调用

发布时间:2019-02-04 19:05:41

串的长度是:
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
考点分析:函数过程的定义及调用。

阅读更多其他试题,请访问生活日记网 用日志记录点滴生活!考试试题频道。
喜欢考试试题,那就经常来哦

该内容由生活日记网提供.