Multiple choice

C has multiway decision control construct known as

  1. if statement

  2. if - else statement

  3. switch statement

  4. none of the above

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

The switch statement is the standard C construct for multiway branching, allowing a variable to be tested for equality against a list of values.