Why n++ executes faster than n+1?
C Interview Questions and Answers
(Continued from previous question...)
Why n++ executes faster than n+1?
The expression n++ requires a single machine instruction such as INR to carry out the increment operation whereas, n+1 requires more instructions to carry out this operation.
(Continued on next question...)
Other Interview Questions
|