Domanda di colloquio di OANDA

Explain why smart pointers are better than raw pointers in making sure resources are released.