Solved

What Happens If a Case in a Switch Statement Does

Question 1

Multiple Choice

What happens if a case in a switch statement does not end with a break statement?


A) The program will not compile.
B) The switch statement will never execute.
C) It will cause an infinite loop.
D) The switch statement will execute the next case statement as well.
E) The case will never be executed.

Correct Answer:

verifed

Verified

Related Questions