执行下列语句后,变量X的值是:
Dim X As Integer
X = 0
X = 13 / 3
Dim X As Integer
X = 0
X = 13 / 3
举一反三
- 执行Dim X,Y AS Integer 语句后则X,Y的默认值均为0
- x = 13,y=-13,执行语句x,y=y,x后,变量x的值为( ) A: 13 B: 0 C: -13 D: 出错
- x = 13,y=-13,执行语句x,y=y,x后,变量x的值为( )
- 3. 设int a, x=2; 执行语句a=x>0?3*x:x=10;后,变量x的值是_______
- 在VB中,使用变量前一般应对变量进行定义。以下变量定义语句错误的是()。 A: Dim x As Integer B: Dim x As Integer,y As Single C: Var x,y:Integer D: Dim x As Integer,y As Integer