Varian Medical Systems Interview Question

What is a smart pointer?