int *ptr = malloc(sizeof(int) * 10); assert(ptr); // use ptr ... 作業系統不保證每一次執行 malloc 都會成功,若無法配置到記憶體, malloc 會 ...
確定! 回上一頁