若在窗体模块的通用部分声明了如下自定义类型和数组: Private Type rec Code As Integer Caption As String End Type Dim arr(5) As rec 则下面的输出语句中正确的是( )。
A.
Print arr.Code(2), arr.Caption(2)
B.
Print arr.Code, arr.Caption
C.
Print arr(2).Code, arr(2).Caption
D.
Print Code(2), Caption(2)