Question: HW on Pointers What does the indirection operator do ? Look at the following code. int x = 7 ; int * iptr = &x;

HW on Pointers
What does the indirection operator do?
Look at the following code.
int x =7;
int *iptr = &x;
What will be displayed if you send the expression *iptr to cout? What happens if you send the expression iptr to cout?
So far you have learned three different uses for the * operator. What are they?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!