
continue在C语言中什么意思?
continue在C语言中表示结束本次循环,进行下一次循环,其作用是跳出循环体中下面尚未执行的语句,对于while循环,继续求解循环条件,而对于for循环程序是接着求解for语句头中表达式。
推荐教程:《C#》
代码示例
#include<stdio.h>
int main()
{
int n;
for(n=1;n<p>输出结果</p><div class="aritcle_card flexRow artxards">
<div class="artcardd flexRow">
<a class="aritcle_card_img" rel="nofollow" href="/ai/771" title="302.AI"><img
src="https://img.php.cn/upload/ai_manual/000/000/000/175679972725503.png" alt="302.AI" onerror="this.onerror='';this.src='/static/lhimages/moren/morentu.png'" ></a>
<div class="aritcle_card_info flexColumn">
<a rel="nofollow" href="/ai/771" title="302.AI" class="overflowclass">302.AI</a>
<p class="overflowclass">302.AI是一款按量付费的一站式 AI 模型、应用和 API 资源平台。</p>
</div>
<a rel="nofollow" href="/ai/771" title="302.AI" class="aritcle_card_btn flexRow flexcenter"><b></b><span>下载</span>
</a>
</div>
</div>
<p>1 2 4 5 7 8 10</p>
<p>continue 在循环结构用用来跳过本次循环中剩余的代码并在条件求值为真时开始执行下一次循环。</p>
<blockquote><p>推荐文章:《<a href="https://www.php.cn/csharp-article.html" target="_blank">C#</a>》</p></blockquote></stdio.h>
13万字C语言保姆级教程(深入):立即使用
在学习笔记中,你将探索c语言的核心概念和高级技巧!










