Multiple choice

In C++, 'while' is a/an __________ control structure.

  1. sequential

  2. count

  3. repetitive

  4. incremental

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A while loop in C++ is a control structure that repeatedly executes a block of code as long as a specified condition remains true. Because it involves repeating instructions, it is classified as a repetitive control structure.