引用 | 編輯
sahvedz263
2013-01-03 10:12 |
1樓
▲ ▼ |
10*4-10/4=40-2=38
因為它沒有括號, 所以是38 x2 |
引用 | 編輯
ebolaman
2013-01-04 13:12 |
2樓
▲ ▼ |
可以用 gcc -E source.c 來看 preprocessor 執行出來的結果 :
複製程式 int main() { int x x=10*4 -10/4 printf("%d\n",x); } 以上的 code 再去交給 compiler 處理 x0 |
引用 | 編輯
iamboss123
2014-01-12 14:03 |
6樓
▲ |
其實很簡單的啦
10*4-10/4=38 x0 |