About Question enthuware.ocajp.i.v7.2.1196 :
Posted: Tue Sep 17, 2013 4:56 am
Hello!
in explanation of this exercise, there is this statement:
Could someone do an example?
Sorry if the question is probably dumb.
Thank you very much!
in explanation of this exercise, there is this statement:
I don't understand what is a "no case constant".2. The switch variable must be big enough to hold all the case constants.
So, if switch variable is of type char, the no case constant can be greater than 65535 because char's range is from 0 to 65535.
Could someone do an example?
Sorry if the question is probably dumb.
Thank you very much!