问题详情

while 和 do-while 循环的主要区别是     


A、<span style="font-size:16px;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;">do-while</span><span style="font-size:16px;font-family:宋体">的循环体至少无条件执行一次</span>

B、<span style="font-size:16px;font-family:&#39;Times New Roman&#39;,&#39;serif&#39;">&nbsp;while</span><span style="font-size:16px;font-family:宋体">的循环控制条件比</span><span style="font-size:16px;font-family:&#39;Times New Roman&#39;,&#39;serif&#39;">do-while</span><span style="font-size:16px;font-family:宋体">的循环控制条件严格</span>

C、<span style="font-size:16px;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;">do-while</span><span style="font-size:16px;font-family:宋体">允许从外部转到循环体内</span>

D、<span style="font-size:16px;font-family: &#39;Times New Roman&#39;,&#39;serif&#39;">do-while</span><span style="font-size:16px;font-family:宋体">的循环体不能是复合语句</span>

时间:2021-07-17 22:44 关键词: 计算机应用技术 高起专 C语言程序设计 期末考试 综合作业 发电厂及电力系统 2019级第三学期期末考试

答案解析

A