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 |
write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????
What does a pointer variable always consist of?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
Magic square
Explain the red-black trees?
write a program for egyptian fractions in c?
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,
what will be the output: main(){char ch;int a=10;printf("%d",ch);}
36 Answers Accenture, TCS, Wipro,
what is the most appropriate way to write a multi-statement macro?
What is meant by operator precedence?
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is the best style for code layout in c?