100.0030 Given char  mychar[8][7];

 

If the base address of the array is 7200, at what address will we find mychar[5][3] ?

 

Since the array mychar is of data type char, each element requires 1-bytes of storage. Each row (outer subscript) requires 7 * 1 = 7 bytes of storage, and each column (inner subscript) element requires 1-bytes of storage. Therefore, &mychar [5][3] is:

 

7200 + 5 * 7 + 3 * 1 = 7200 + 35 + 3 = 7238