Quote:
Originally Posted by JMJ_coder
[CODE]variable1 = variable1++ % 2;
|
The result of the above statement is "undefined" by the C standard.
This is because "variable1" is being modified more than once without any
sequence point
in between the modifications.