User Tools

Site Tools


c:control_structures:switch
click
to support this page (eg 0,42 € or so) Thanks.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:control_structures:switch [2013/01/22 22:02]
127.0.0.1 external edit
c:control_structures:switch [2013/04/10 15:58] (current)
94.223.12.247
Line 3: Line 3:
 ===== description ===== ===== description =====
  
-The switch statement is a multi-select. An expression is evaluated once and compared to constants. In case of equality, the instructions that come after the constant processed. In switch statements can only ordinal data types (ie, int, long, int, char, etc.) use.+The switch statement is a multi-select control structure. An expression is evaluated once and compared to 'constants'. In case of equality, the 'statements' that come after the 'constant' are processed. In switch 'statementscan only ordinary data types (ie, 'int''long', char, short, etc.) can be used
 \\ \\
  
advertising
c/control_structures/switch.txt · Last modified: 2013/04/10 15:58 by 94.223.12.247

Impressum