Question: Look at these declaration: int arr[] = {7, 0, -1, 9, 3, 12, -8, 4, 23, 8}; Assume that the array starts at address 100
Look at these declaration:
int arr[] = {7, 0, -1, 9, 3, 12, -8, 4, 23, 8};
Assume that the array starts at address 100 (decimal) and that ints are 4 bytes long. What is the R-value of this expression:
*(arr+4)
| 1. | 104 | |
| 2. | 3 | |
| 3. | 102 | |
| 4. | 0 | |
| 5. | the expression is not legal |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
