This is a question from kn king\'s c programming : a modern approach. I can\'t understand the solution given by him:-
The expression ++i is equivalent to (i
Difference between both are: ++ is a unary operator while + is a binary operator....
If we consider execution time: i++ is more faster than i=i+1.
No of machine cycles differs to execute the same set of code, thats the reason ++ operators are always prefered for Loops.
Refer to this thread for more info