Question: A unique pointer is a pointer a . that is declared in a function in which it is the only pointer. b . that can
A unique pointer is a pointer
a that is declared in a function in which it is the only pointer.
b that can be dereferenced just one time, and causes a runtime error if it is dereferenced more than once.
c that is declared in a block of code in which it is the only pointer.
d none of these.
e that points to a block of memory, and no other pointer is allowed to point to the same block.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
