TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

Guideline:  7.3.4#1Checked automatically with code checker

Synopsis:The increment and decrement operators should not be mixed with prefix forms in the same expression.
Language:C
Severity Level:4
Category:EXPRESSIONS


Description:
Expressions are particularly confusing to read when both postfix and prefix forms are used simultaneously, as for example in expressions like:

Example:

x++ + --j; /* POOR Practice */