※ 引述《katty.bbs@bbs.ntu.edu.tw (missing)》之銘言:
: ==> realbout.bbs@bbs.nsysu.edu.tw (珍惜現在...) 提到:
: > 原PO不是說那是題目嗎??不一定是上課用的吧....
: > 如果上課上這種那他大二上完應該就可以直接考研究所了
: > 不用補習了.....
: Nonsense!
: At least in C89, the precedence of side effects is undefined.
: One just should not write code like
: y = f(x) + g(x);
: in which x may be altered in f or g.
沒錯...我還在想說++x之後x的內容不就改變了嗎....
那接下來的東西要怎麼辦...暫存變數回存的時候又要怎麼辦
原來是沒定義...好樣的 = =a
那這個問題本身就是錯的嘛...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.138.189.125