title: C Programming: difference between ++i and i=i+1 from an assembler point of view?
body: <p>This was an interview question. I said they were the same, but this was adjudged an incorrect response. From the assembler point of view, is there any imaginable difference? I have compiled two short C programs using default gcc optimization and -S to see the assembler output, and they are the same.</p>