char *ptr; float *ptr; double *ptr; 取得變數位址是使用&運算元,稱為取址,取出位址: 例如一個變數為 int num =5; num變數的記憶體位址則為&num
確定! 回上一頁