b. What would be the output of the
statement: printf(“%d”, myarray[7]); ?
The address of myarray[7] is: 56871 +
2*7 =
56871 + 14 = 56885.
At address 56885 we find:
0000101001110101 (on 16-bits), which equates to:
211 + 29 + 26
+ 25 + 24 + 22 + 20 = 2,048 + 512 +
64 + 32 + 16 + 4 + 1 =
2,677