单项选择题

已知整型数组a(12),若要在过程调用后返回其元素最大值的下标,下面的过程定义语句合法的是()

A、PrivateFunctionmx(a()AsInteger)AsInteger
B、PrivateFunctionmx(ByVala(12)AsInteger)AsInteger
C、PrivateFunctionmx(a(12)AsInteger)AsInteger
D、PrivateFunctionmx(ByVala()AsInteger)AsInteger