Which is correct, when the programmer wants to execute loop at least once?
a) while loop
b) do while loop
c) for loop
d) none of these
In do-while, the loop condition is terminated with……
a) colon
b) semicolon
c) comma
d) none of these
A loop within another loop is called
a) for loop
b) while loop
c) do while loop
d) nested loop
Which of the following is correct format of nested loop?
a) outer loop (inner loop)
b) outer loop {inner loop}
c) outer loop [inner loop]
d) none of these
Statements can only be used inside the body of loop is called…
a) if
b) break
c) continue
d) switch
Which of the following is not a loop structure?
a) switch
b) while loop
c) do while loop
d) nested loop