C99 draft (ISO/IEC 9899:TC3), Ch. 6.5.16 Assignment operators


所有跟贴·加跟贴·新语丝读书论坛

送交者: steven 于 2009-03-14, 14:20:24:

回答: are you sure? += is not treated the same way as = as far as I can see 由 eng 于 2009-03-14, 13:46:50:

Syntax
= *= /= %= += -= <<= >>= &= ^= |=
...
Semantics
3 ...
4. The order of evaluation of the operands is unspeci&#64257;ed. If an attempt is made to modify the result of an assignment operator or to access it after the next sequence point, the behavior is unde&#64257;ned.



所有跟贴:


加跟贴

笔名: 密码: 注册笔名请按这里

标题:

内容: (BBCode使用说明