下列哪一个方法是自动调整窗口的大小
A.7,431
B.6
C.980
D.6,980
参考答案:D
解析:在for语句中省略中间的判断表达,并且后面只有一个分号,所以 是循环。
设intx=-9,y;,则执行y=x>=0?x:—x;后y的值是______。
有如下事件过程: Function UNC (ByVal x As Integer,ByVal y As Integer) As Integer Do While y<>0 sic=x/y x=y y=sic Loop UNC=x End Function 以下是该函数的调用过程,该程序的运行结果是()。 PriVate Sub COmmand1_Click() Dim a As Integer Dim b As Integer a=12 b=2 x=UNC (a,b) Print x End Sub
A.0
C.2
D.80