<p>What is the difference between <code>new</code>/<code>delete</code> and <code>malloc</code>/<code>free</code>?</p>

<p>Related (duplicate?): <a href="https://stackoverflow.com/questions/184537/in-what-cases-do-i-use-malloc-vs-new">In what cases do I use malloc vs new?</a></p>

The  most relevant difference is that the
```
new
```
operator allocates memory then calls the constructor, and
```
delete
```
calls the destructor then deallocates the memory.