User’s Manual U15556EJ1V0UM
10
2.9
Comment............................................................................................................................... 50
CHAPTER 3 DECLARATION OF TYPES AND STORAGE CLASSES....................................... 51
3.1
Storage Class Specifiers ..................................................................................................... 52
(1)
typedef..........................................................................................................................................52
(2)
extern............................................................................................................................................52
(3)
static .............................................................................................................................................52
(4)
auto...............................................................................................................................................52
(5)
register..........................................................................................................................................52
3.2
Type Specifiers..................................................................................................................... 53
3.2.1
Structure specifier and union specifier ....................................................................................55
(1)
Structure specifier...........................................................................................................55
(2)
Union specifier................................................................................................................55
(3)
Bit field............................................................................................................................56
3.2.2
Enumeration specifiers............................................................................................................56
3.2.3
Tags.........................................................................................................................................57
3.3
Type Qualifiers ..................................................................................................................... 58
3.4
Declarators............................................................................................................................ 59
3.4.1
Pointer declarators ..................................................................................................................59
3.4.2
Array declarators .....................................................................................................................59
3.4.3
Function declarators (including prototype declarations)..........................................................60
3.5
Type Names .......................................................................................................................... 60
3.6
typedef Declarations............................................................................................................ 60
3.7
Initialization........................................................................................................................... 62
(1)
Initialization of objects which have a static storage duration........................................................62
(2)
Initialization of objects that have an automatic storage duration..................................................62
(3)
Initialization of character arrays....................................................................................................62
(4)
Initialization of aggregate or union type objects ...........................................................................63
CHAPTER 4 TYPE CONVERSIONS ................................................................................................ 65
4.1
Arithmetic Operands............................................................................................................ 67
(1)
Characters and integers (general integral promotion)..................................................................67
(2)
Signed integers and unsigned integers ........................................................................................67
(3)
Usual arithmetic type conversions................................................................................................68
4.2
Other Operands.................................................................................................................... 69
(1)
Left-side values and function locators..........................................................................................69
(2)
void...............................................................................................................................................69
(3)
Pointers ........................................................................................................................................69
CHAPTER 5 OPERATORS AND EXPRESSIONS.......................................................................... 70
5.1
Primary Expressions............................................................................................................ 73
5.2
Postfix Operators................................................................................................................. 73
(1)
Subscript operators ......................................................................................................................74
(2)
Function call operators .................................................................................................................75
(3)
Structure and union member........................................................................................................76
(4)
Postfix Increment/Decrement operators.......................................................................................78
5.3
Unary Operators................................................................................................................... 79
(1)
Prefix Increment and Decrement operators..................................................................................80