int i = 0;
boolean t = true;
boolean f = false, b;
b = (t || ((i++) == 0));
b = (f || ((i+=2) > 0));
System.out.println(i);
After the above code is executed, the print result is 2, not 3, why?
I find "i" was 0 not 1 after "b = (t || ((i++) == 0))" executed by debuging.Well,I'm confused why "i++" not changes "i".