下列程序段运行后,显示的结果是() Dim x as Integer If x then Print x Else print

下列程序段运行后,显示的结果是() Dim x as Integer If x then Print x Else print x+1
A、-1
B、1
D、显示错误信息
【正确答案】:B