Question: switch ( phoneDigit ) { case 1 : num = 1 ; break; case 2 : num = 2 ; break; case 3 : num
switch phoneDigit case : num ; break; case : num ; break; case : num ; break; case : num ; break; default: num ; break; Looking at the example above, what happens if the break is omitted? a num is always assigned b num is never assigned a value c a syntax error is generated d num is assigned
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
