标题:求大家看下这段代码奇怪的输出?
取消只看楼主
家力掠
Rank: 2
等 级:论坛游民
帖 子:52
专家分:16
注 册:2015-6-28
结帖率:41.18%
已结贴  问题点数:5 回复次数:0 
求大家看下这段代码奇怪的输出?
#include <iostream>

using namespace std;

int main()
{
    int count = 0;

    cout << count++ << count++ << count++ << endl;

    return 0;
}


为什么输出的是210而不是012呢?
搜索更多相关主题的帖子: include count 
2016-05-15 15:34



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-464844-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.147154 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved