TODAY JAVA SCHOOL

In java school, programming, design, computer general knowledge, web application, software, web services, social media, digital marketing, oops, concept of programming language, oops feature, console media, graphics medium, first programming, c, c ++ , Java, PHP, SQL, MySQL, HTML, HTML_5, J_query, JavaScript, Bootstrap, Framework, images with logos, examples, shared and explained.

https://www.amazon.in/b?node=26373545031&linkCode=ll2&tag=1234567801cdb-21&linkId=3b9882431b00409b44141e0344b35a15&language=en_IN&ref_=as_li_ss_tl

Breaking

Sunday, 10 May 2020

Continue Statement In C Language | Continue Statement In C Language In Hindi

Continue Statement In C Language

The continue statement is used inside loop. When a continue statement is encountered inside a loop, control jumps to the beginning of the loop for next iteration, skipping the execution of statements inside the body of loop for the current iteration.


Syntax:

continue;


download image of continue statement in c
Fig: Continue statement in c 

Program

#include<stdio.h>
#include<conio.h>
void main()
{
for(int j=0;j<=8;j++)
{
if(j==4)
{
continue;
}
printf(“%d”,j);
}
getch();
}

Output:

0 1 2 3 5 6 7 8

No comments:

Post a Comment