问题详情

在C编程语言中,以下正确的描述是  


A、<span style="font-size: 16px; line-height: 18.88888931274414px;">&nbsp;continue</span><span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">语句的作用是结束整个循环的执行</span>

B、<span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">只能在循环体内和</span><span style="font-size: 16px; line-height: 18.88888931274414px;">switch</span><span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">语句体内使用</span><span style="font-size: 16px; line-height: 18.88888931274414px;">break</span><span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">语句</span>

C、<span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">在循坏体内使用</span><span style="font-size: 16px; line-height: 18.88888931274414px;">break</span><span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">语句或</span><span style="font-size: 16px; line-height: 18.88888931274414px;">continue</span><span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">语句的作用相同</span>

D、<span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">从多层循环嵌套中退出,只能使用</span><span style="font-size: 16px; line-height: 18.88888931274414px;">goto</span><span style="font-size: 16px; line-height: 18.88888931274414px; font-family: 宋体;">语句</span>

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

答案解析

B