The array arr and the pointer aPtr are defined as follows
int arr[7] = {3, 6, 9, 12, 15, 18, 21};
int *aPtr ;
As a result of the following two statements what value appears on the screen?
aPtr = arr ;
printf(“%3d\nâ€Â, *(aPtr + 4));
a) 9
b) 12
c) 15
d) 18
e) none of the above.
is the answer 12???
Tags: