Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑 C 中的以下代码片段:
int v = 10; int z = v; v = v++ + ++v; printf("v = %d\n",v); // gives 23 printf("z = %d\n",z++ + ++z); // gives 22
为什么会这样?
由于未定义的行为,缺少序列点。