COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A CONTINUE statement inside a Loop like WHILE, FOR, DO-WHILE and Enhanced-FOR causes the program execution ____ the loop.
A
Skip
B
Exit
C
Skip present iteration and continue with next iteration of the loop
D
None
Explanation: 

Detailed explanation-1: -The continue keyword can be used in any of the loop control structures. It causes the loop to immediately jump to the next iteration of the loop.

Detailed explanation-2: -Explanation: The continue keyword is used to end the loop iteration immediately and resume execution at the next iteration.

Detailed explanation-3: -Use the break keyword to break out of a loop.

There is 1 question to complete.