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 |
how to find the binary of a number?
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,
Array is an lvalue or not?
Can a binary search tree be used as an index? If yes, how? Explain
What are the advantages of using Unions?
Why should I prototype a function?
what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1
Explain what is the difference between a string and an array?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
how to find turn around time in operating system?
wat is the difference between array and pointer?