Reputation: 1
I'm learning about arrays in C, and I'm stumped on a homework question.
The array access
a[j][k]
is equivalent toa)
((base_type*)a (j*row _ength) + k)
b)*((base_type*)a (j*row_length) + k)
c)*((base_type)a (j*row_length) + k)
d)*((base_type)a (j*row_length))
e) None of these
Upvotes: 0
Views: 128
Reputation: 12092
The answer is : e) , None of these.
For better understanding read this : Arrays and pointers in C
Upvotes: 2