Zohaib, when you post a source code, please
Use Code Tags so that the code is readable.
The question that you've asked is simple. I've commented the line where i will be 11 in the code. The next line is a bit confusing at first. The steps that will happen is this
i =
i++;
first the part in the bold will be evaluated. Since this is a postfix increment operator, so the expression will result in 11. By expression I mean it will be equivalent to
i = 11;
But the assignment will not be made first. First the value will be increased. Then i will be assigned 11. So you can think of that line as
I hope it makes sense to you...