int i = 1;
cout << ++i << " " << i++;
VS2019 输出 3 1,g++ 里输出 2 2
不知道为啥还不一样,感觉前者完全是错的?
【 在 yytree 的大作中提到: 】
: You don't need to ask others everywhere,
: you'd better write a code and debug it,
: then you will find the answer by yourself.
: ...................
--
FROM 180.166.53.*