What Is the difference betwen new and malloc? | SoloLearn: Learn to code for FREE!

0

What Is the difference betwen new and malloc?

What Is the difference betwen them and how do they work?

c++

4/1/2020 12:50:08 PM

Massimiliano Messina

1 Answer

New Answer

+3

It's explained in isocpp faqs. read: https://isocpp.org/wiki/faq/freestore-mgmt#new-malloc-diff