Explain the usage of the following operator: ∼
Advertisements
Question
Explain the usage of the following operator:
∼
Explain
Advertisements
Solution
The ∼ (Negation or NOT) operator is used to reverse the truth value of a logical statement. It converts True (1) into False (0) and False (0) into True (1).
Example: If A = True, then ∼A = False.
Boolean Expression: Y = ∼A
shaalaa.com
Is there an error in this question or solution?
