What is that continue statement??
Answers were Sorted based on User's Feedback
Answer / satya
continue is a keyword..
whenever this statement encountered in a loop , the control
will immediately send to the starting of the loop , without
continuing the sequence of statements...
starting of the loop means
1)control goes to incremental operator if it is for loop
2)control will go to condition checking statement in while
loop...
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / amol p.deokar
When Continue is encountered inside any loop,control automatically passes to the beginning of the loop.
A cont.. is usually associated with an if
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
In a switch statement, explain what will happen if a break statement is omitted?
What are the different data types in C?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What does node * mean?
How can you print HELLO WORLD without using "semicolon"?
what is printf
What does calloc stand for?
Is c easy to learn?
what is the diffrenet bettwen HTTP and internet protocol
wap in c to accept a number display the total count of digit
Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...
Write a program that an operator and two operands read from input operand operator on the implementation and results display.