在执行下面的代码后发生了什么?
int x = 10; x += x--;
我期待结果19(将x添加到x然后将x减1)但结果为20.它如何在窗帘后面工作?谢谢你的回答.
c++ operators post-increment
c++ ×1
operators ×1
post-increment ×1