Jan 17, 2009

which executes faster n++ or n+1??

which executes faster n++ or n+1??
n++ reason only one operand fetch required...
in assembly language, n++ use INC, n+1 use add, so n++ is fast

No comments:

Post a Comment