1: | switch is useful when we wish to check the value of variable against a particular set of values. |
2: | switch is useful when we wish to check whether a value falls in different ranges. |
3: | Compiler implements a jump table for cases used in switch. |
4: | It is not necessary to use a break in every switch statement. |
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.