1.

B) what is the difference between "while-do" and "do-while" loop ?

Answer»

Answer:

Only difference between these TWO LOOPS is that, in while loops, test expression is checked at first but, in do...while loop CODE is executed at first then the condition is checked. So, the code are executed at least once in do...while loops.

Hope it's help you......



Discussion

No Comment Found