explain unary not (!) operator with
example.
Answers
Answered by
0
Explanation:
The logical not operator is used to reverse the given condition. For example, if the operand is true, the logical not operator (!) reverses and return false; if the operand is false, the logical operator returns true.
Answered by
1
Answer:
The logical not operator is used to reverse the given condition. For example, if the operand is true, the logical not operator (!) reverses and return false; if the operand is false, the logical operator returns true.
Similar questions