Solved

Which Statements Is False

Question 14

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents