1.

What Is Continue Statement And What Is It Used For?

Answer»

Continue is a keyword and is used whenever we want to take the control to the beginning of the loop, by PASSING the statements inside the loop which have not yet been executed.

When the keyword continue is encountered inside any loop in the PROGRAM, control AUTOMATICALLY PASSES to the beginning of a loop. Continue is GENERALLY associated with an if.

Continue is a keyword and is used whenever we want to take the control to the beginning of the loop, by passing the statements inside the loop which have not yet been executed.

When the keyword continue is encountered inside any loop in the program, control automatically passes to the beginning of a loop. Continue is generally associated with an if.



Discussion

No Comment Found