Question: 18. For the declaration int a = 5; int *ptr &a; what are the values of the following? a. ptr b. *ptr = c.

 18. For the declaration int a = 5; int *ptr &a; what  

18. For the declaration int a = 5; int *ptr &a; what are the values of the following? a. ptr b. *ptr = c. ptr == a d. ptr == : &a e. &ptr f. *a g. *&a h. **&ptr

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Given the declaration c int a 5 int ptr a Lets find the values of each expression a ptr Address of v... View full answer

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 Programming Questions!