In the above scenario the i value gets incremented to 11 and stores in k. Where as in the follwing lines of code
int i = 10; int k = i++; The value of i is first stored in k and later it is incremented. Why it is like this?. If we consider the precedence of operators the post-fix operators has the highest precedence when compared to least priority assignement operators. What is the reason behind it?