Question: 8. Suppose that a C array has been declared as follows: int a[5] [8] [4]; (a) Give the access function for this array, assuming
8. Suppose that a C array has been declared as follows: int a[5] [8] [4]; (a) Give the access function for this array, assuming that the address of a is 1000 and int values occupy four bytes. (b) What is the address of a [2] [4] [3]?
Step by Step Solution
There are 3 Steps involved in it
Answer a To access an element of a 3dimensional array in C you need to use ... View full answer
Get step-by-step solutions from verified subject matter experts
