I'm barely beginning to use C++ and I wanted to know how I am supposed to read the statement:
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)
I don't understand how the examples came up with the answers so can someone write out how I am supposed to read it?