I was going through Lesson 2 in the tutorials. At the end, it has some statements ~
What does the ! do here?Code:A. !( 1 || 0 ) ANSWER: 0 B. !( 1 || 1 && 0 ) ANSWER: 0 (AND is evaluated before OR) C. !( ( 1 || 0 ) && 0 ) ANSWER: 1 (Parenthesis are useful)
How does 1 && 0 evaluate to 0? (previous paragraph in tutorial)
Thanks