L&T Technology Services Interview Question

What is a smart pointer?