Which operator returns true only when both condition are true
Answers
Answered by
3
Answer:
&& (And) Logical Operator returns true only when both conditions are true.
Answered by
0
Answer:
The answer is AND operator.
Explanation:
There are different logical operators like AND, OR, NOT, NAND, NOR, XOR.
The AND operator returns true only when both the conditions are true.
The truth table values are as follows:
A B AB
0 0 0
0 1 0
1 0 0
1 1 1
Therefore, the answer is AND operator.
Similar questions