等同於: int* p; p = (int*) malloc (sizeof(int)); // 雖然說C 不用這行也能work p = 5;. 這個功能配給空間給一維陣列時特別好用.
確定! 回上一頁