单项选择题

若要在子过程P1调用后返回两个变量的结果,下列过程定义语句中有效的是( )。

A.Sub P1(n,m)
B.Sub P1(ByVal n,m)
C.Sub P1(n,ByVal m)
D.Sub P1(ByVal n,ByVal m)