The difference between while structure and do structure for looping is .................
A. in while statement the condition is tested at the end of first iteration
B. in do structure the condition is tested at the beginning of first iteration
C. the do structure decides whether to start the loop code or not whereas while statement decides whether to repeat the code or not
D. in while structure condition is tested before executing statements inside loop where as in do structure condition is tested before repeating the statements inside loop
Answer:D
The difference between while structure and do structure for looping is .................
A. in while statement the condition is tested at the end of first iteration B. in do structure the condition is tested at the beginning of first iteration C. the do structure decides whether to start the loop code or not whereas while statement decides whether to repeat the code or not D. in while structure condition is tested before executing statements inside loop where as in do structure condition is tested before repeating the statements inside loop