9.2 數組與指針

這篇說一下數組與指針數組 內容在書10.3, 10.4, 10.5章.函數 1. 在數組中作指針運算 首先注意,"數組名是數組首元素的地址"(288頁).也就是說下面的語句是合法的spa int numbers[10]; //numbers是一個數組 numbers == &numbers[0]; //爲真 而後看看下面的例子指針 # define SIZE 4 int main(void) {
相關文章
相關標籤/搜索