Generalize formula (6.7) to multidimensional arrays, and indicate what values can be stored in the symbol table and used to compute offsets. Consider the following cases:a) An array A of two dimensions, in row-major form. The first dimension has indexes running from l\ to hi, and the second dimension has indexes from l2 to h2 . The width of a single array element is w. b) The same as (a), but with the array stored in column-major form.! c) An array A of k dimensions, stored in row-major form, with elements of size w. The jth. dimension has indexes running from lj to hj.! d) The same as (c) but with the array stored in column-major form.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here