You can check this course on my website.
Before you start reading, I want to ask you to like this article, so I will know that my work helps you ❤️
Logical Operators accept bool values as operands and return bool.
- && — Conditional logical AND operator. If both operands are
true
, returnstrue
, otherwisefalse
.
- || — Conditional logical OR operator. If one of the operands is true, returns
true
, otherwisefalse
.
- ! — Logical negation operator. Performed on a single operand and returns
true
if the operand isfalse
and vice versa.
Summary — Operators Precedence and Associativity (Article in progress)
Previous article -> 2.8 Comparison Operators
Next article -> 2.10 Operators Precedence and Associativity
Join to our community in Telegram — https://t.me/itifico
If you want to support me, you can buy me a coffee. I send all donations to support the army of Ukraine.
Donations list:
- Dinesh Chintalapudi — 3$
- Unknown — 5$
- Neisy — 3$
- Unknown — 3$