Question: Assuming ptr is a pointer variable, what will the following statement output? cout * ptr; The value stored in the variable whose address is contained
Assuming ptr is a pointer variable, what will the following statement output? cout ptr;
The value stored in the variable whose address is contained in ptr
The string ptr:
The address of the variable stored in ptr
The address of the variable whose address is stored in ptr
None of these
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
