1. Home
  2. MCQs by exam
  3. NTS

NTS MCQs · Page 137

5,604 multiple choice questions typical of the NTS exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 3401–3425 of 5,604

What ownership rule does std::unique_ptr enforce in C++?

  1. Exactly one owner, with ownership transferred by move Correct answer
  2. Multiple owners, freed when the last owner releases its hold
  3. No owner, with the pointer never freed
  4. Shared ownership counted by a control block
MCQSEXAM Read explanation