1.

What Restrictions Are Placed On The Values Of Each Case Of A Switch Statement?

Answer»

During compilation, the values of each case of a switch STATEMENT MUST evaluate to a VALUE that can be PROMOTED to an INT value.

During compilation, the values of each case of a switch statement must evaluate to a value that can be promoted to an int value.



Discussion

No Comment Found