单项选择题

下面子过程语句合法的是()

A、Functionf(ByValnAsInteger)
B、Functionf(ByValnAsInteger)AsInteger
C、Subf(ByValn()AsInteger)
D、Subf(nAsInteger)AsInteger