Which is true about EXIT and CONTINUE statements?
Which is true about EXIT and CONTINUE statements?
EXIT and CONTINUE statements can indeed be used in any type of loop, such as FOR, WHILE, or DO-WHILE loops. The EXIT statement is used to terminate the loop early, while the CONTINUE statement skips the rest of the loop body and proceeds with the next iteration. They do not necessarily need a WHEN condition or labels to function, and they do not have the same effect on loop execution.
A is correct
A is correct