free () 釋放的是pointer 指向位於heap 的連續記憶體,而非pointer 本身佔有的記憶 ... #pragma pack(1) typedef struct _test1 { char c[3]; int num[256]; } test1; ...
確定! 回上一頁