Multiple Choice
Which statement is false:
A) A weak_ptr points to the resource managed by a shared_ptr without assuming any responsibility for it.
B) The reference count for a shared_ptr doesn't increase when a weak_ptr references it. That means that the resource of a shared_ptr can be deleted while there are still weak_ptrs pointing to it. When the last shared_ptr is destroyed, the resource is deleted and any remaining weak_ptrs are set to NULL.
C) One use for weak_ptr s is to avoid memory leaks caused by circular references.
D) None of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Q17: The _ multithreading header contains classes and
Q18: Which of the following statements is true
Q19: Though multithreading has been around for decades,
Q20: When the reference count reaches zero, the
Q21: The internal pointer is deleted once the
Q23: A common example of a variadic template
Q24: A tuple's _ copies a tuple's elements
Q25: A unique_ptr automatically calls _ to free
Q26: Shared_ptrs use _ counting to determine how
Q27: Prior to C++11 the following code created