Barclays interview question

questions about smart pointers.