单选题
以下能正确定义数据类型SystemInfo的代码是______。
A.Type SystemInfo DiskDrives As String*10 Memory As Long End Type
B.Type Systeminfo DiskDrives As String*10 Memory As Long End Systemlnfo
C.Type SystemInfo DiskDrives String*10 Memory Long End Type SystemInfo
D.DefType Systemlnfo DiskDrives String*10 Memory Long End Type
A
B
C
D
【正确答案】
A
【答案解析】
[考点] 自定义数据类型 [解析] 用Type语句自定义数据类型时,其语法格式为: Type数据类型名 数据类型元素名As类型名 数据类型元素名As类型名 ... End Type
提交答案
关闭