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

Rule:  6.5.3.1.aChecked automatically with code checker

Synopsis:Do not mix postfix and prefix increment and/or decrement in a statement.
Language:C
Severity Level:3
Category:Expressions


Description:

Justification

Expressions are particularly confusing to read when both postfix and prefix forms are used simultaneously.

Example

x++ + --j; /* WRONG */