[单项选择题] 以下能正确定义数据类型SystemInfo的代码是( )。
A.Type SystemInfo
DiskDrives As String*10
Memory As Long
End Type
B.Type SystemInfo
DiskDrives As String*10
Memory As Long
End SystemInfo
C.Type SystemInfo
DiskDrives String*10
Memory Long
End Type SystemInfo
D.Typedef SystemInfo
DiskDnves String*10
MemoryLong
End Type
参考答案:
A问题解析:
本题考查自定义类型的定义。自定义类型要求以Type开始,以End Type结束,在两者之间包含有各个成员的说明,要求字符串定义为定长字符串,同时每个成员的类型以“As”引出。

![[单项选择题] 以下能正确定义数据类型SystemInfo的代码是( )。 [单项选择题] 以下能正确定义数据类型SystemInfo的代码是( )。](http://www.mshxw.com/aiimages/31/254410.png)
