2012年7月23日 星期一

指標變數與函數指標筆記

指標變數wiki的定義:

In computer science, a pointer is a programming language data type whose value refers directly to (or "points to") another value stored elsewhere in the computer memory using its address.
簡單來說 指標變數就是指出資料存在哪個記憶體位址,也就是指標變數就是一個記憶體位置記錄器,如下圖(轉至wiki)