Which of the following statements is/are incorrect?

1
In "for loop", a variable value is initialised at the beginning of the loop and is used in the condition
2
A "while loop" is used to execute and repeat a statement block depending on a condition which is evaluated at the beginning of the loop.
3
A "do­-while loop" is used to execute and repeat a statement block depending on a condition which is evaluated at the end of the loop.
4
The statement block is not executed even once, in "do­-while loop" when the value of the condition is false

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation