Solved

What Happens If a Case in a Switch Statement Does

Question 13

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

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents