[問題] 別人問我的問題
int a = 1 ;
int b = (a++) * (++a) ;
b = ?
ANS:4
他跟我說過這個原理
還是上來讓大家集思一下
--
http://www.wretch.cc/user/ground
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.192.162.252
推
02/18 15:12, , 1F
02/18 15:12, 1F
→
02/18 15:16, , 2F
02/18 15:16, 2F
→
02/18 15:16, , 3F
02/18 15:16, 3F
→
02/18 16:37, , 4F
02/18 16:37, 4F
推
02/18 16:47, , 5F
02/18 16:47, 5F
推
02/18 17:05, , 6F
02/18 17:05, 6F
→
02/18 17:57, , 7F
02/18 17:57, 7F
推
02/18 18:00, , 8F
02/18 18:00, 8F
→
02/18 18:06, , 9F
02/18 18:06, 9F
→
02/18 18:29, , 10F
02/18 18:29, 10F
噓
02/18 19:21, , 11F
02/18 19:21, 11F
→
02/18 19:31, , 12F
02/18 19:31, 12F
推
02/18 20:37, , 13F
02/18 20:37, 13F
→
02/18 21:56, , 14F
02/18 21:56, 14F
推
02/18 22:24, , 15F
02/18 22:24, 15F
→
02/18 22:49, , 16F
02/18 22:49, 16F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章