Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

I have some question about data structure(array address). Suppose there is a row-major array A[n][m], the address, with decimal system, of A[2][10], A[10][2], and A[20][20] is 740, 1508, and 2580, respectively. The size of each array element is d bytes. (1) Find d. (2) Find m. (3) What is the beginning address of array A? thanks

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!