单项选择题

在窗体上画一个命令按钮,然后编写如下程序  Private Sub Command4 Click()    Dim a As Integer,b As Integer    a=1    b=2    Print N(a,b)  End Sub  Function N(x As Integer,y As Integer)As Integer    N=IIf(x>y,x,y)  End Function  程序运行后,单击命令按钮,输出结果为

A.l
B.2
C.5
D.8