Which of the following statements are true with respect to looping statements?
Answer options
A
initial condition must be applied before the loop begins to execute
B
A loop should run infinite number of times
C
conditional statements are not allowed within a loop
D
the condition under which the iterative process should get terminated must be given
E
The iteration must terminate at some point of tim
F
A looping statement can be nested and can have decision making statements
Correct answer: initial condition must be applied before the loop begins to execute, the condition under which the iterative process should get terminated must be given
Explanation
Initial condition must be applied before the loop begins to execute. The iteration must terminate at some point of time. A looping statement can be nested and can have decision making statements