27-04-2006, 09:56 AM
An effectively boolean expression can be the operand of the assignment operator or any operand of the ternary operator.
These are allowed
Full clarification will be in Technical Clarification 1.
Code:
a = (b == c);
a = b > 5;
c = a || b;
These are allowed
Full clarification will be in Technical Clarification 1.
Posted by and on behalf of the MISRA C Working Group