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
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)