Multiple Choice
To initialize a unique_ptr, you can use C++14's ________ function template, which allocates dynamic memory with operator new, then returns a unique_ptr to that memory. Prior to C++14, you'd pass the result of a new expression directly to unique_ptr's constructor.
A) create_unique
B) make_unique
C) get_unique
D) form_unique
Correct Answer:

Verified
Correct Answer:
Verified
Q2: The correct order in which an exception
Q3: Which of the following statements is false?<br>A)
Q4: The try block cannot:<br>A) Enclose the code
Q5: To rethrow an exception, the exception handler
Q6: Catch blocks are not required to contain:<br>A)
Q8: Select the false statement. The new operator:<br>A)
Q9: Which statement about class unique_ptr (of the
Q10: An advantage of using inheritance with exceptions
Q11: An exception:<br>A) Terminates program execution.<br>B) Terminates the
Q12: Exception handling may allow a program to:<br>A)