-
What is true about do statement?
-
- do statement executes the code more than once always
- do statement executes the code of a loop at least once
- do statement does not get execute if condition is not matched in the first iteration
- do statement checks the condition at the beginning of the loop
- None of these
Correct Option: B
Do statement checks the condition at the end of the loop. Hence, code gets executed at least once.