What are the Logical Operators?

Logical operators are those which return true or false according to the result of two expressions.

Logical Operators are:

1. Logical AND (&&) Return true if both the expressions are true else return false
2. Logical OR(||) Return true if one of the expressions is true and return false if both the expressions are false.
3. Logical NOT (!) It takes only one operand. Return true if value of operand is false and returns false if value of operand is true.

More Questions

Leave a Reply

Word Verfication * Time limit is exhausted. Please reload CAPTCHA.