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 |
What are the loops in c?
can we execute the program with the object file
Why do we use & in c?
how many errors in c explain deply
Explain is it better to bitshift a value than to multiply by 2?
write a c program to find largest of three numbers using simple if only for one time.
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
what is C?
How can I automatically locate a programs configuration files in the same directory as the executable?
Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.
Explain zero based addressing.
what type of language is C?