单项选择题
有如下的程序段,该程序段执行完后,共执行的循环次数是( )。 total=0 Counter=1 Do Print Counter total=total * Counter + 1 Print total Counter=Counter +1 If total > 10 Then Exit Do End If Loop While Counter<=10
A. 该程序完全正确
B. 该程序有错,只要将语句swap(&a,&b);中的参数改为a,b即可
C. 该程序有错,只要将swap( )函数中的形参p和q以及t均定义为指针(执行语句不变)即可
D. 以上说法都不对
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
如果要将文本框作为密码框使用时,应设置的属性为( )。
A. Name
B. Caption
C. PasswordChar
D. Text
点击查看答案&解析
单项选择题
在默认情况下,InputBox函数返回值的类型为( )。
A.constructAdestructA
B.constructAconstructAdestructAdestructA
C.constructAconstructAconstructAdestructAdestructAdestructA
D.constructAconstructAconstructAconstructAdestructAdestructAdestructAdestructA
点击查看答案&解析
相关试题
在关系模型中,把数据看成一个二维表,每一...
算法的基本特征是可行性、确定性、【 】和...
耦合和内聚是评价模块独立性的两个主要标准...
在修改列表框内容时,RemoveItem方法的作用...
下面程序是由鼠标事件在窗体上画图,如果按...