int size = 2, i; int arr[size]; int *ptr; ptr = &arr; //將ptr指向array // 1.記憶體位址 for(i=0; i<size; i++) printf("&arr[%d]: %p, ptr+%d: %p\n" ...
確定! 回上一頁