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

admin2015-07-01  37

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

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

答案A

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

最新回复(0)