short[] foo = new short[45];
assuming that a short occupies 2 bytes and that the array starts at address 5342, which locations does foo[24] occupy? If possible please show how you figure it out and individually list ALL the addresses occupied.
This is not homework, i'm asking this because i really don't understand how to do this and it would be a great if i can see the solution so i can study
also, is this how i should approach this question, 5342+2*24