I am reading a C book and don't understand a statement it is asking me to evaluate.
Here is the statement, !(1 && !(0 || 1))
I can understand some things here... This is what I have so far, not(1 and not(0 or 1))
So it's not 1 and not 0 or 1
? Or is it not 1 and 0 or 1
? Do those two !
cancel each other out like a double negative? The answer is true
but I expected false
.
Can someone explain?