Which of the following statement is used to repeat execution of block of the statements? (i) if...else... (ii) continue (iii) while (iv) switch
Answers
Answered by
2
Answer:
continue
Explanation:
Answered by
1
The continue statement is used to repeat the execution of a block of the statements. Option (ii) is the right answer.
Explanation:
The continue statement is placed within the loop definition. When the program encounters the continue statement, the ongoing flow is abandoned and the program is forced into the next iteration. Any line or block of code after the continue statements are not executed. The continue statement is used without any conditions and does not require any parameter to be checked for the program to move to the next iteration.
Similar questions
Math,
6 months ago
English,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Psychology,
1 year ago
Math,
1 year ago