Computer Science, asked by kesharwania376, 20 days ago

Explain any two types of logical operator with example. *​

Answers

Answered by kishanmkish89
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 prakritiverma2107
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