User’s Manual U15556EJ1V0UM
11
(2)
(3)
(4)
Cast Operators......................................................................................................................84
Arithmetic Operators............................................................................................................85
(1)
Multiplicative operators................................................................................................................. 86
(2)
Additive operators ........................................................................................................................ 87
Bitwise Shift Operators ........................................................................................................88
Relational Operators.............................................................................................................90
(1)
Relational operators ..................................................................................................................... 91
(2)
Equality operators ........................................................................................................................ 92
Bitwise Logical Operators....................................................................................................93
(1)
Bitwise AND operators ................................................................................................................. 94
(2)
Bitwise XOR operators................................................................................................................. 95
(3)
Bitwise Inclusive OR operators .................................................................................................... 96
Logical Operators .................................................................................................................97
(1)
Logical AND operators ................................................................................................................. 98
(2)
Logical OR operators ................................................................................................................... 99
5.10 Conditional Operators........................................................................................................100
5.11 Assignment Operators .......................................................................................................101
(1)
Simple assignment operators..................................................................................................... 102
(2)
Compound assignment operators .............................................................................................. 103
5.12 Comma Operator.................................................................................................................104
5.13 Constant Expressions........................................................................................................105
(1)
General integral constant expression......................................................................................... 105
(2)
Arithmetic constant expression .................................................................................................. 105
(3)
Address constant expression..................................................................................................... 105
Address and Indirection operators ............................................................................................... 81
Unary Arithmetic operators (+ – ~ !)............................................................................................. 82
sizeof operators............................................................................................................................ 83
5.4
5.5
5.6
5.7
5.8
5.9
CHAPTER 6 CONTROL STRUCTURES OF C LANGUAGE ......................................................106
6.1
Labeled Statements............................................................................................................108
(1)
case label................................................................................................................................... 109
(2)
default label................................................................................................................................ 111
6.2
Compound Statements or Blocks.....................................................................................112
6.3
Expression Statements and Null Statements...................................................................112
6.4
Conditional Statements......................................................................................................113
(1)
if and if ... else statements.......................................................................................................... 114
(2)
switch statement......................................................................................................................... 115
6.5
Iteration Statements............................................................................................................116
(1)
while statement .......................................................................................................................... 117
(2)
do statement............................................................................................................................... 118
(3)
for statement .............................................................................................................................. 119
6.6
Branch Statements .............................................................................................................120
(1)
goto statement............................................................................................................................ 121
(2)
continue statement..................................................................................................................... 122
(3)
break statement.......................................................................................................................... 123
(4)
return statement ......................................................................................................................... 124