⚖️ Comparison Operators
Last Updated: Jan 2026
Comparison operators are used to compare two values.
They return a Boolean value — (1)true or (0)false.
🗂 List of Comparison Operators
✏ Mini Example
int x = 10;
int y = 10;
int z = 5;
printf("%d\n",x == y); // true → (1)
printf("%d\n",(x != y)); // false → (0)
printf("%d\n",(x > z)); // true → (1)
printf("%d\n",(x <= z)); // false → (0)
