Arithmetic | ||||

+ - * / % ++ – – |
Addition Subtraction Multiplication Division Modulus Increment Decrement |
a a a a a a a |
+ - * / % ++ – – |
b b b b b b b |

Assignment | ||||

= += -= *= /= %= |
Assign to Add and assign Subtract and assign Multiply and assign Divide and assign Modulus and assign |
a a a a a a |
= += -= *= /= %= |
b b b b b b |

Comparison | ||||

== != > < >= <= |
Equality Inequality Greater than Less than Greater than or equal Less than or equal |
a a a a a a |
== != > < >= <= |
b b b b b b |

Logical | ||||

&& || ! |
And OR NOT |
a a a |
&& || ! |
b b b |

Conditional | ||||

a > ? : | Ternary | a > b | ? c | : d |

& address of operator

* derefencing operator

. member operator

-> infix operator, aka pointer member dereferencing operator

<< insertion operator

>> extraction operator