Which of the following loops does not have a conditional check at the start?

Which of the following loops does not have a conditional check at the start?

a) for loop
b) while loop
c) repeat loop
d) do-while loop

Answer:

c) repeat loop

Explanation:

The repeat loop does not check any condition at the start; it runs indefinitely until a break statement is used.

Reference:

R Programming – Loops MCQ Questions and Answers

Scroll to Top