What is that continue statement??

Answer Posted / sri

continue is a keyword,and when contine appears in a
loop ,the particular iteration is skiped for example
#include<stdio.h>
void main()
{
int i=0;
while(i<=5)
{
if(i==3)
continue;
printf("\t%d",i);
i++;
}
}
output:0 1 2 4 5.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many key words availabel in c a) 28 b) 31 c) 32

856


Explain what are global variables and explain how do you declare them?

868


Multiply an Integer Number by 2 Without Using Multiplication Operator

572


write a program to display all prime numbers

1723


What is exit() function?

801


What are the 5 organizational structures?

824


Explain how can type-insensitive macros be created?

807


What functions are used for dynamic memory allocation in c language?

886


How does normalization of huge pointer works?

920


Why c language is called c?

781


How can you invoke another program from within a C program?

851


What is the basic structure of c?

822


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

2110


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2056


What are preprocessor directives in c?

877