Lesson 6 of 50
cOperators Overview
9 mins
Course progress12%
What you'll learn
Keep these ideas in mind as you work through the lesson.
Lesson 6 of 50
c9 mins
Keep these ideas in mind as you work through the lesson.
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.