Which one is faster among the following?
A
Correct answer
Explanation
In many low-level environments and older compilers, simple addition (i=i+1) or increment (i++) is faster than multiplication or exponentiation. However, modern compilers optimize these to be identical. The stored answer 'i=i+1' is a traditional choice for basic arithmetic speed.