The relational and equality operators are left-associative in C. Consequently, C, unlike many other languages, allows chaining of relational and equality operators. The C standard, Section 6.5.8, paragraph 6, footnote 107, of the C Standard [ISO/IEC 9899:2011], says:
...
Tool | Version | Checker | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| exprprns | Fully implemented. | |||||||||||||
GCC |
|
| Option | ||||||||||||
Include Page | ECLAIR_V | ECLAIR_V | exprprns | Fully implemented. | |||||||||||
PRQA QA-C |
| 3392 | Fully implemented. |
...