Quiz · Memory and Smart Pointers · lesson 7 of 12Quiz — unique_ptrHow does std::unique_ptr work?[A]It alone owns its object, deletes it when destroyed, and can be moved but not copied[B]It can be copied: the copy takes over the object, and the original pointer is left empty[C]It stops copies of the address, but its object still has to be freed with delete[D]It counts its copies and deletes the object only when the last copy of it is destroyed← Backstd::unique_ptr and std::moveNext →std::shared_ptr and weak_ptr