subexpressions evaluation order

我怕爱的太早我们不能终老 提交于 2019-12-02 10:36:44

In the current standard (ISO/IEC 9899:1999) there is a sequence point between function calls but the order of evaluation of the operands to + is not specified so func1 may be called before or after func2 but the function calls must not overlap or be interleaved in any way.

This means that each of func1 and func2 can, if desired, interact with some shared data without having that data change under it in an unexpected way.

Not during, but sure, either 1 then 2 or 2 then 1.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!