Back to C Programming

Operators & Expressions

Master the various operators in C, including arithmetic, relational, logical, and bitwise, and understand operator precedence.

1 week

Topics in this Chapter

1

Arithmetic Operators

Learn to use operators for basic mathematical calculations like addition, subtraction, multiplication, division, and modulus.

2

Relational Operators

Learn how to compare two values using operators like `==`, `!=`, `<`, `>`, `<=`, and `>=`.

3

Logical Operators

Learn to combine multiple conditions using logical AND (`&&`), OR (`||`), and NOT (`!`).

4

Bitwise Operators

Dive into low-level data manipulation with bitwise AND, OR, XOR, NOT, left shift, and right shift.

5

Increment/Decrement Operators

Understand the pre-increment (`++i`), post-increment (`i++`), pre-decrement (`--i`), and post-decrement (`i--`) operators.

6

Operator Precedence

Learn the rules that govern the order in which operators are evaluated in a C expression.

GeekDost - Roadmaps & Snippets for Developers