Main Content
MISRA C:2023 Rule 12.3
Description
Rule Definition
The comma operator should not be used.
Rationale
The comma operator can be detrimental to readability. You can often write the same code in another form.
Troubleshooting
If you expect a rule violation but do not see it, refer to Diagnose Why Coding Standard Violations Do Not Appear as Expected.
Examples
Check Information
Group: Expressions |
Category: Advisory |
AGC Category: Advisory |
Version History
Introduced in R2024a