If you open up your compiler then you may find the difference in the orders of variable initialization and nothing more than writing a+b in place of b+a.