Computer Science - Object Oriented Programming Using C++ - Discussion

4. 

The 'continue' statement is used to

[A]. permit two different expressions to appear in situations where only one expression would ordinarily be used
[B]. terminate loops or to exit from a switch
[C]. alter the normal sequence of program execution by transferring control to some other part of the program
[D]. All of the above
[E]. None of the above

Answer: Option E

Explanation:

No answer description available for this question.

Nivashini said: (Aug 10, 2017)  
Continue statement is used to terminate the current iteration of the nearest enclosing loop.

Ayesha Rani said: (Apr 20, 2020)  
The continue statement:

It is a keyword used to transfer the control to the beginning of the loop skipping the remaining statements inside the loop.

The GOTO statement is used to :

Alter the normal sequence or program execution by transferring control to some other part of the program.
Syntax: continue;

The break statement: Terminate loops or to exit from a switch.

The comma operator (,) is used to permit two different expressions to appear in situations where only one expression would ordinarily be used.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.