rt,有以下代码:
#include<bits/stdc++.h> using namespace std; int main(){ int i=0; cout<< i++ + ++i; }
这个代码为什么是未定义行为?是因为不确定先计算 i++ 还是 ++i 吗?
i++
++i