Posted by Default User on 10/07/05 21:40
Jerry Stuckle wrote:
> Actually, Dana is correct. "i++ + i++" is undefined in C. The
> language defines the evaluation order of the operators - but not the
> operands. So if i = 1, the result could be 1+1, 2+1 or 1+2 (although
> probably not the last). It's up to the compiler manufacturers on how
> it's implemented.
Or just make demons fly out of your nose.
Brian
Navigation:
[Reply to this message]
|