下列选项中,与VBA中语句Dim NewVar%, sum!等价的是

admin2015-07-01  25

问题 下列选项中,与VBA中语句Dim NewVar%, sum!等价的是

选项 A、Dim NewVar As Integer, sum As Single
B、Dim NewVar As Integer, sum As Double
C、Dim NewVar As Single, sum As Single
D、Dim NewVar As Sibgle, sum As Integer

答案A

解析 VBA定义变量,除了直接指明变量类型外,还可以使用类型说明符来指明;整型%、长整型&、单精度!、双精度#、货币型@以及字符型$。因此,本题选择A选项。
转载请注明原文地址:https://kaotiyun.com/show/cngp777K
0

最新回复(0)