(03-02-2017, 03:35 PM)misra-c Wrote: Your example does violate rule 13.3. It can be rewritten as
which complies with both rules 13.2 and 13.3.Code:x = x + 1;
Hello, would you be able to explain why the above code snippet is compliant with 13.2 and 13.3? Is the rationale that it is not using ++/--?