18-08-2008, 09:29 AM
Wouldn't that make both examples unspecified? If the order is right-to-left, then the first example would have the same issue.
At any rate, the expression falls under "complex expressions" in MISRA rule 10.1 and therefore it cannot rely on implicit typecasts.
So neither example is compatible, no matter the order of evaluation.
At any rate, the expression falls under "complex expressions" in MISRA rule 10.1 and therefore it cannot rely on implicit typecasts.
So neither example is compatible, no matter the order of evaluation.
<t></t>