In C language, Why does n++ execute faster than n=n+1?
n++
n=n+1
(int n=...; n++;) (int n=...; n=n+1;)
Our instructor asked
Who says it does? Your compiler optimizes it all away, really, making it a moot point.