list the name of logical operators.?
Answers
Answered by
1
Explanation:
Operator Description Example
&& Called Logical AND operator. If both the operands are non-zero, then the condition becomes true. (A && B) is false.
|| Called Logical OR Operator. If any of the two operands is non-zero, then the condition becomes true. (A || B) is true.
Answered by
3
Explanation:
Logical operators:
1 . result = a || b;
2 . result = value1 || value2 || value3;
3 . result = a && b;
4 . result = value1 && value2 && value3;
5 . result = ! value;
Similar questions