1. 程式人生 > >new和malloc的用法和區別

new和malloc的用法和區別

從以下幾個方面總結下new和malloc的區別:

 

參考部落格:

https://blog.csdn.net/nie19940803/article/details/76358673

https://blog.csdn.net/linux_ever/article/details/50533149

https://blog.csdn.net/qq_26816591/article/details/52214313

https://blog.csdn.net/xiaminli/article/details/75801688

https://blog.csdn.net/Dream_xun/article/details/50347139