Solved

Which of the Following Defines a Unique_ptr Named Uniq That

Question 12

Multiple Choice

Which of the following defines a unique_ptr named uniq that points to a dynamically allocated int?


A) unique_ptr<uniq> int( new int ) ;
B) unique_ptr<int> int( new uniq ) ;
C) unique_ptr<uniq> uniq( new int ) ;
D) unique_ptr<int> uniq( new int ) ;
E) None of these

Correct Answer:

verifed

Verified

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

Related Questions