C/C++之内存管理

intmain()//new/delete和malloc/free最大区别是new/delete对于【自定义类型】除了开空间还会调用构造函数和析构函数free(p1);deletep2;//内置类型是...