break中断for循环。
不,break退出最内层循环体(for、while、switch、do..while)。
1.break语句有C语言中的两个用途:1、用于退出循环语句。
Breakisabreakoftheforloop.Inthelogiclabel,breakhasnoeffectonlyintheiterationlabeli.e.intheforloop,inthewhileloop,inthethinkloop.Itisfortheentireloop.End#include
文章推荐: