Multiple choice technology programming languages

C++

  1. Breaks out of the if statement

  2. Exits the function

  3. Nothing (Compiler error)

  4. None of the Above

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

This question lacks context, but in C++, using a break statement outside of a loop or a switch block (such as directly inside an if statement) results in a compilation error.