Page 1 of 1

Question 3(a) 10 points Consider the following declaration: intx[5] = {10,3,7,98,7}; int *p; p=&x[2]; Suppose address of

Posted: Sat Nov 27, 2021 10:30 am
by answerhappygod
Question 3 A 10 Points Consider The Following Declaration Intx 5 10 3 7 98 7 Int P P X 2 Suppose Address Of 1
Question 3 A 10 Points Consider The Following Declaration Intx 5 10 3 7 98 7 Int P P X 2 Suppose Address Of 1 (76.21 KiB) Viewed 57 times
Question 3(a) 10 points Consider the following declaration: intx[5] = {10,3,7,98,7}; int *p; p=&x[2]; Suppose address of x is 700. What are the values of the followings? (i) p+2 (ii) *p+2 (iii) *(p+2) (iv) *(p+2) - *p (v) ++(*p)