Question: Assume that an integer array x is defined by the following statements: int x[21I4]-l(1,8,7,61,(2,4,-1,01), *xptr-&x[oIo); Draw a memory allocation diagram, and give the value indicated

Assume that an integer array x is defined by the following statements: int x[21I4]-l(1,8,7,61,(2,4,-1,01), *xptr-&x[oIo); Draw a memory allocation diagram, and give the value indicated by each of the follow-ing references: 5. *xptr 6. *(xptr +2) 7. xptr2 8. (xp+1)+ (xptr*3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
