Please look at this code:
int a = 5, b = 7;
System.out.println(++a + b-- - a-- * --b);
It outputs -17. But I dont understand why. In my opinion output should be -19. Because first of all we do multiplication 5*6 = 30, then 5 + 6 = 11, finally 11-30 = -19. Could someone tell me why output is -17?