Which of the following is not a looping statement?
a. for
b. continue
c. while
d. All of these
Answers
Answered by
2
Answer:
the answer is continue
Explanation:
it skips the execution of statements inside loop's body for current iteration.
Answered by
1
Option (B) is correct.
Continue is not a looping statement.
What about the looping statement :
- The continue statement bypasses any remaining statements in the do, for, or while statement body and sends the control to the next iteration of the next enclosing do, for, or while statement in which it appears.
- A loop is a while statement. Essentially, it keeps running the statement in the while statement for as long as the expression is true.
- The for statements loop a set number of times and use an index variable to keep track of each iteration.
Similar questions