Lesson 6 of 50 · c
Operators Overview
Duration: 9 mins
C includes arithmetic, relational, logical, bitwise, assignment, and ternary operators.
| Category | Operators |
|---|---|
| Arithmetic | + - * / % |
| Relational | == != < > <= >= |
| Logical | `&& |
| Bitwise | `& |
| Assignment | `= += -= *= /= %= &= |
| Ternary | cond ? expr1 : expr2 |
Operator precedence determines evaluation order; use parentheses to clarify.