Question 76
In C, given array 'int arr[5] = {10, 20, 30, 40, 60};' and pointer 'int *p = arr;', which expressions evaluate to the value 60?
Detailed Solution
arr[4], *(p + 4), and *(arr + 4) all dereference element index 4 (60). *p + 4 evaluates to 10 + 4 = 14.