switch ................. case :-
It is a generalization of the if ............... else statement. It is a compound statement which gives some alternative course of action. The keyword switch is followed by bracket showing a variable name and the keyword case is followed by an integer or a single character constant called as the case label.
The keyword break takes the control out of the switch structure.
The keyword break takes the control out of the switch structure.
0 comments:
Post a Comment