2 <section id="expressions">
5 <h>Primary expressions</h>
10 <l>(</l> expression <l>)</l>
16 object-creation-expression
17 array-creation-expression
18 <l>sizeof (</l> type <l>)</l>
19 <l>typeof (</l> type <l>)</l>
23 <h>Unary expressions</h>
27 <l>+</l> unary-expression
28 <l>-</l> unary-expression
29 <l>!</l> unary-expression
30 <l>~</l> unary-expression
34 <section id="arithmetic">
35 <h>Arithmetic operations</h>
37 multiplicative-expression:
39 multiplicative-expression <l>*</l> unary-expression
40 multiplicative-expression <l>/</l> unary-expression
41 multiplicative-expression <l>%</l> unary-expression
44 multiplicative-expression
45 additive-expression <l>+</l> multiplicative-expression
46 additive-expression <l>-</l> multiplicative-expression
50 <h>Shift operations</h>
54 shift-expression <l><<</l> additive-expression
55 shift-expression <l>>></l> additive-expression
58 <section id="relational">
59 <h>Relational operations</h>
61 relational-expression:
63 relational-expression <l><</l> shift-expression
64 relational-expression <l><=</l> shift-expression
65 relational-expression <l>></l> shift-expression
66 relational-expression <l>>=</l> shift-expression
70 equality-expression <l>==</l> relational-expression
71 equality-expression <l>!=</l> relational-expression
74 <section id="logical">
75 <h>Logical operations</h>
79 and-expression <l>&</l> equality-expression
81 exclusive-or-expression:
83 exclusive-or-expression <l>^</l> and-expression
85 inclusive-or-expression:
86 exclusive-or-expression
87 inclusive-or-expression <l>|</l> exclusive-or-expression
90 <section id="assignments">
94 unary-expression <l>=</l> expression
95 unary-expression <l>+=</l> expression
96 unary-expression <l>-=</l> expression
97 unary-expression <l>*=</l> expression
98 unary-expression <l>/=</l> expression
99 unary-expression <l>%=</l> expression
100 unary-expression <l>&=</l> expression
101 unary-expression <l>|=</l> expression
102 unary-expression <l>^=</l> expression
103 unary-expression <l><<=</l> expression
104 unary-expression <l>>>=</l> expression