> For the complete documentation index, see [llms.txt](https://fashaun.gitbook.io/dev-c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fashaun.gitbook.io/dev-c/ti-ku.md).

# 題庫

**++i 與 i++ 的速度高下**

++i 的拆解

`i = i + 1;`

`return i;`

i++ 的拆解

`int j = i;`

`i = i + 1;`

`return j;`

Ans: ++i

I**nclude了不必要的Header File，是否會增加編譯後程式的大小呢? (C/C++) (C)**

編譯器會依您所撰寫的程式內容自己到所含括進來的標頭檔去擷取所需要的資訊，而沒有使用到的資訊則不屬於這個程式的範圍，故不會增加程式碼的大小‧當然，我們也沒有必要含括一些沒有必要的標頭檔到程式來，因為這只會徒增程式閱讀的困擾‧
