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

Discussion Forum : Object Oriented Programming Using C++ - Section 10 (Q.No. 4)
4.
The 'continue' statement is used to
permit two different expressions to appear in situations where only one expression would ordinarily be used
terminate loops or to exit from a switch
alter the normal sequence of program execution by transferring control to some other part of the program
All of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Ayesha Rani said:   4 years ago
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.

Nivashini said:   7 years ago
Continue statement is used to terminate the current iteration of the nearest enclosing loop.

Post your comments here:

Your comments will be displayed after verification.