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

In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  


What are the different data types in C?

0 Answers  


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

0 Answers  


What does node * mean?

0 Answers  


How can you print HELLO WORLD without using "semicolon"?

7 Answers   HCL, Infosys,






what is printf

5 Answers   MVSR, Satyam,


What does calloc stand for?

0 Answers  


Is c easy to learn?

0 Answers  


what is the diffrenet bettwen HTTP and internet protocol

0 Answers  


wap in c to accept a number display the total count of digit

4 Answers  


Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...

2 Answers  


Write a program that an operator and two operands read from input operand operator on the implementation and results display.

0 Answers  


Categories