When is the reference count of an object managed by a shared pointer decreased by 1?
When a shared pointer's copy constructor is invoked or when a shared pointer is assigned the value nullptr
None of these
When a shared pointer goes out of scope or when a shared pointer is assigned the value nullptr
When a shared pointer goes out of scope or when a shared pointer is assigned an invalid value
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here