HARMAN Interview Question

What is shared pointer used for