<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>illustationof continue statement | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/illustationof-continue-statement/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Thu, 29 Dec 2022 13:57:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>Continue Statement</title>
		<link>https://studentprojects.in/software-development/cpp/continue-statement/</link>
					<comments>https://studentprojects.in/software-development/cpp/continue-statement/#respond</comments>
		
		<dc:creator><![CDATA[Shubhajna Rai]]></dc:creator>
		<pubDate>Sat, 31 Dec 2022 01:53:00 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Continues statement]]></category>
		<category><![CDATA[illustationof continue statement]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=10051</guid>

					<description><![CDATA[<p>In C++, the continue statement is used inside loops. When a continue statement is met within the loop, the control returns to the beginning of the loop for the next iteration, bypassing the execution of statements within the loop&#8217;s body following the continue statement. It is used to transfer control to the following loop iteration.</p>
<p>The post <a href="https://studentprojects.in/software-development/cpp/continue-statement/">Continue Statement</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>In C++, the continue statement is used inside loops. When a continue statement is met within the loop, the control returns to the beginning of the loop for the next iteration, bypassing the execution of statements within the loop&#8217;s body following the continue statement.</p>



<p>It is used to transfer control to the following loop iteration. The continue statement typically bypasses some code within the loop and allows the programme to proceed to the next iteration. It is primarily used for a condition, allowing us to skip some lines of code for a specific circumstance.</p>



<p>In contrast to a break statement, which ends the loop the instant it is met, it forces the next iteration to follow in the loop.</p>



<p>Here is an illustration of how a continue statement works.</p>



<pre class="wp-block-code"><code lang="cpp" class="language-cpp">#include &lt;iostream&gt;
using namespace std;
 
int main()
{
    for (int i = 0; i &lt;= 10; i++)
    {
        if (i &lt; 6)
        {
            continue;
        }
        cout &lt;&lt; i &lt;&lt; " ";
    }
    return 0;
}
</code></pre>



<p>Output:</p>



<p>6 7 8 9 10</p>



<p>The continue statement was running indefinitely while I remained less than 5. We were able to get the print statement to function for all other values of i.</p><p>The post <a href="https://studentprojects.in/software-development/cpp/continue-statement/">Continue Statement</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/cpp/continue-statement/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
