Computer Science for IGCSE & O level - Programming (Section 5 - No. 31)
What does the `NOT` operator do?
It returns true if both conditions are true.
It reverses the truth value of an expression.
It combines two conditions with logical OR.
It calculates the sum of two values.
Explanation
`NOT` inverts a boolean expression; true becomes false, and false becomes true.
Comments (0)
