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.3.aChecked automatically with code checker

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


Description:

Justification

The unary plus is never really needed in code. It could be an indication of a programming mistake.

Example

strlen(*ddl_string) + + sizeof(","); /* WRONG: was this intended? */