Which loop is preferred when programmer want at least once loop executes?
a) for loop
b) while loop
c) do while loop
d) nested loop
Which loop execute once body of loop must when the condition is false for first time?
a) while loop
b) do while loop
c) for loop
d) none of these
Which statement terminates the execution of the loop?
a) default
b) break
c) none of these
d) loop
Which of the following correct syntax of break statement?
a) break()
b) break:
c) break;
d) break>
Which statement control shift back to the beginning of the loop?
a) default
b) break
c) continue
d) loop
Where continue statement is used?
a) outside body
b) inside body
c) before body
d) after body