Macquarie Group Interview Question

describe smart pointer in C++