会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
真理已不在
博客园
首页
新随笔
联系
管理
订阅
2019年6月2日
if和break连用的情况
摘要: 1.break只能与switch和循环语句连用,不能与if语句单独使用; #incldue<stdio.h> main(){ int a=0,b=9; if(a<b)break; } 上面会报错 break要想和if语句中,if就必须嵌套在循环语句中 #include<stdio.h> main()
阅读全文
posted @ 2019-06-02 20:57 荣耀马
阅读(3008)
评论(0)
推荐(0)
公告