Postfix increment and decrement typically involves making a copy of the object being incremented or decremented, whereas its prefix form does not.
Therefore the prefix form is usually the more efficient form, and should be preferred.
This rule raises an issue if a postfix increment or decrement operator is used, but its return value is not read.
Noncompliant code example
void myFunc(int lim)
{
int i;
for (i = 0; i < lim; i++)
{
// do something
}
}
Compliant solution
void myFunc(int lim)
{
int i;
for (i = 0; i < lim; ++i)
{
// do something
}
}