Module 05: Operators in C Language Guide
🟢 Difficulty: Beginner to Intermediate | Expression Evaluation, Bitwise Masks & Precedence
An operator in C is a symbol that instructs the compiler to perform specific mathematical, logical, bitwise, or memory manipulation operations on operands. Understanding operator precedence, sequence points, and short-circuit evaluation rules is necessary to prevent expression evaluation bugs.
📚 Subtopic Lessons in This Module
| Lesson # | Lesson Topic | Key Focus Areas | Link |
|---|---|---|---|
| 01 | Arithmetic Operators | +, -, *, /, % (modulo), integer division truncation. |
Open Lesson 01 |
| 02 | Relational Operators | ==, !=, >, <, >=, <=, Boolean 0/1 truth values. |
Open Lesson 02 |
| 03 | Logical Operators | &&, ||, !, short-circuit evaluation guarantees. |
Open Lesson 03 |
| 04 | Bitwise Operators | &, |, ^, ~, <<, >>, bit manipulation & hardware masks. |
Open Lesson 04 |
| 05 | Assignment Operators | =, compound assignment (+=, &=, <<=), side-effect evaluations. |
Open Lesson 05 |
| 06 | Increment & Decrement | Prefix (++x) vs Postfix (x++), undefined sequence point behaviors. |
Open Lesson 06 |
| 07 | Special C Operators | sizeof, Ternary (? :), Comma (,), Address (&), Indirection (*). |
Open Lesson 07 |
🧠Module Navigation
← Module 04 Guide | C Master Syllabus | Start Lesson 01: Arithmetic Operators →