What is that continue statement??

Answers were Sorted based on User's Feedback



What is that continue statement??..

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

What is that continue statement??..

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

What is that continue statement??..

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 is that continue statement??..

Answer / palani222samy

continue:

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

how to find the binary of a number?

10 Answers   Infosys,


What is the significance of scope resolution operator?

0 Answers   Agilent, ZS Associates,


Array is an lvalue or not?

0 Answers  


Can a binary search tree be used as an index? If yes, how? Explain

0 Answers   TCS,


What are the advantages of using Unions?

0 Answers   IBS,






Why should I prototype a function?

0 Answers  


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

0 Answers  


Explain what is the difference between a string and an array?

0 Answers  


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?

0 Answers  


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

0 Answers  


how to find turn around time in operating system?

3 Answers  


wat is the difference between array and pointer?

4 Answers   Wipro,


Categories