2014-02-11 67 views
-5
int i=c++ + c++; 

其中c也是一個整數並且其值爲5。 我認爲這個答案是1211!但事實證明這是10。 任何人都可以解釋嗎? 在此先感謝..與運營商混淆

+8

這麼多重複出席。轉到這個網站的右上角,並查看相關部分 –

+3

http://stackoverflow.com/questions/4176328/undefined-behavior-and-sequence-points –

+0

@ooga其中c也是一個整數,並有一個5'的價值我覺得他確實 –

回答