为了账号安全,请及时绑定邮箱和手机立即绑定

关于i++

i++放到sum=sum+i前面为什么结果是5150?

正在回答

4 回答

1+2+3+.....+100

和2+3+4+...101

的区别

0 回复 有任何疑惑可以回复我~
#1

nunai_050 提问者

非常感谢!
2015-03-23 回复 有任何疑惑可以回复我~


https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://search.bilibili.com/all? ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0
https://www.oschina.net/search?i ... 6%E5%BE%BD%E6%96%B0

0 回复 有任何疑惑可以回复我~

i++ 是i 在参与运算完,再执行+1 操作。。

0 回复 有任何疑惑可以回复我~

i++是先取出i现在的值  然后再+1  

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
C语言入门
  • 参与学习       926206    人
  • 解答问题       20797    个

C语言入门视频教程,带你进入编程世界的必修课-C语言

进入课程
意见反馈 帮助中心 APP下载
官方微信