0Pricing
C Academy · Lesson

Logical and Comparison Operators

Explore how C evaluates conditions using operators like &&, ||, !, >, <, ==, and !=.

1

Logical and Comparison Operators

Logical and comparison operators help in evaluating conditions in C.

In this lesson, you will learn about:

  • Comparison operators like ==, !=, >, and <.
  • Logical operators like &&, ||, and !.
Logical and Comparison Operators — illustration 1

2

Comparison Operators

Comparison operators are used to compare two values.

Examples:

  • == (Equal to)
  • != (Not equal to)
  • > (Greater than)
  • < (Less than)

All lessons in this course

  1. Conditional Statements
  2. Looping Structures
  3. Logical and Comparison Operators
← Back to C Academy