Solved

Which Statements Is False

Question 40

Multiple Choice

Which statements is false:


A) shared_ptrs provide the pointer operators dot(.) , star(*) and arrow(->) .
B) We get the reference count using the shared_ptr member function use_count, which returns the number of shared_ptrs to the resource.
C) Changes made to the resource of a shared_ptr are "seen" by all shared_ptrs to that resource.
D) shared_ptr member function reset releases the current resource and sets the shared_ptr to NULL. If there are no other shared_ptrs to the resource, it's destroyed.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions