Consider the following declaration of a two-dimensional array in C: char…
GATE · 2002 · CS · Question 2 subparts
Consider the following declaration of a two-dimensional array in C: char a[100][100]; Assuming that main memory is byte-addressable and that the array starts at memory address 0, the address of a[40][50] is:
- A.
4040
- B.
4050
- C.
5040
- D.
5050
Attempted by 434 students.
Sign up free to check your answer
Sign up freeLoading lesson…