Im very new to programming and Im liking the way this website is explaining c but I'm having some trouble understanding booleans.
An example is listed as follows:
!( 1 || 0 ) ANSWER: 0
to me this reads Not 1 or 0
so if the the value is not 1 or 0, how is the answer 0?
Additionally in the chapter 2 quiz question 3 reads:
3. Evaluate !(1 && !(0 || 1)).
The answer is listed as "A true", but why? Doesnt this statement have to be compared to something in order to be true or false?