int p = 7;
if(++p > 10 && p++ > 11) p++;


I know the output of p after the execution is 8 but I do not know why.
code would execute as
(8 > 10 && 8 > 11 ) this is false so the p++ at the end...