首页题库练习题目详情
Visual Basic语言程序设计单选题中等

在Visual Basic中,如何定义一个接受两个整数参数并返回它们之和的函数?

AFunction Sum(a As Integer, b As Integer) As Integer
BSub Sum(a As Integer, b As Integer) As Integer
CPublic Function Sum(a, b) As Integer
DFunction Sum(a As Integer, b) As Integer