由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] ++ operator in C
相关主题
[合集] about: ++ operator in C申请PROGRAMMING版版主
why copy assignment operator returns non-const type?programming公告 (转载)
为什么exponentiation operator(^)是right associative的[合集] GC in Java [转载]
[合集] one simple question[合集] 问一个在c++关于for的问题。
[合集] How to read large C code?[合集] 推荐一个UML工具
[合集] 为什么 const member 不能是 static.[合集] Stroustrup的新书
[合集] pointer in Cambiguous operators in c++
[合集] python入门看哪本书好问个函数指针指向操作符的问题
相关话题的讨论汇总
话题: aug话题: fri话题: operator话题: yunhai话题: 飞纵
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
yunhai (飞纵千里山) 于 (Fri Aug 26 13:17:21 2005) 提到:
int x=20,y=35;
x=y++ + x++;
what is x's value? Why
☆─────────────────────────────────────☆
goyacc (ken) 于 (Fri Aug 26 13:48:50 2005) 提到:
56
x=35+21
try x=1 + x++;
why?
check preference of + ++ and the left/right association of + ++.
just run it to see the result.

☆─────────────────────────────────────☆
yunhai (飞纵千里山) 于 (Fri Aug 26 14:14:00 2005) 提到:
I track the asm code in vc6
I found the sequ
1 (共1页)
进入Programming版参与讨论
相关主题
问个函数指针指向操作符的问题[合集] How to read large C code?
C语言里面的register变量能否进行取地址操作? (转载)[合集] 为什么 const member 不能是 static.
[C++] 入门级问题 increment and decrement operators[合集] pointer in C
Scala的operator似乎不太好读[合集] python入门看哪本书好
[合集] about: ++ operator in C申请PROGRAMMING版版主
why copy assignment operator returns non-const type?programming公告 (转载)
为什么exponentiation operator(^)是right associative的[合集] GC in Java [转载]
[合集] one simple question[合集] 问一个在c++关于for的问题。
相关话题的讨论汇总
话题: aug话题: fri话题: operator话题: yunhai话题: 飞纵