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

Rule:  6.5.17.aChecked automatically with code checker

Synopsis:The comma operator shall not be used.
Language:C
Severity Level:6
Category:Expressions


Description:

Justification

Using the comma operator is confusing and is always avoidable without any loss of readability, program size or program performance.

Example

a = (b++, c++); /* WRONG */