Explain any two types of logical operator with example. *
Answers
Answered by
0
Explanation:
Logical operators are used to check whether an expression is True or False. After using Logical Operators on the variables, the result returned is a Boolean Value
Logical Operators.
Operator Name Form
&& Logical AND a && b
|| Logical OR a || b
! Logical NOT !a.
Answered by
1
Logical operators are used to check whether an expression is True or False. After using Logical Operators on the variables, the result returned is a Boolean Value i.e., Either a True or False value.
Similar questions