Question: Do the values of each case: condition in a switch() statement have to be unique?
Do the values of each case: condition in a switch()… statement have to be unique?
Step by Step Solution
★★★★★
3.38 Rating (148 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Yes in a switch statement each case should have a unique value If cases are not unique and have the ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
