So, I was writing some code and I was getting an unexpected output in one part of my program which disrupted the entire system.
I managed to extract and simplify th
Operators precedence. && has higher precedence than ||.
&&
||
Your expression is the same as: ++i || (++j && k)
++i || (++j && k)
++i is TRUE, the parenthesis is not evaluated anymore.
++i
TRUE