Answers/Solutions to Exercises in Chapter 6, Exercise 2
E2: Let int x[4] be an integer array. Let int *p, *q be pointers. Let p = x and q = &x[0]. Are both pointers pointing to the same location or to different ones?
A2: Of course, they point to the same location -- the beginning of the array x.
Back to Answers/Solutions Index Back to Answers/Solutions for Chapter 6 Index