10.02.a.   What would the command:  printf(“%d”, myshort[0]);  yield?

 

Since &myshort[3] == 4066 (given) then &myshort[0] == 4066 – 3 * 2 == 4060

 

When we go to address 4060, we find the bit pattern:

 

                        0000000000101111 (On 16-bits)

Evaluating:

                        25 + 23 + 22 + 21 + 20 = 32 + 8 + 4 + 2 + 1 = 47