What is the purpose of using continue statement in a program?
86 Likes
continue statement is used to unconditionally jump to the next iteration of the loop, skipping the remaining statements of the current iteration.
Answered By
50 Likes
Write down the syntax of:
(a) do - while
(b) while loop
What is the purpose of using break statement in a program?
Distinguish between while and do-while loop.
What is meant by an infinite loop? Give an example.