user3206
0
Q:

use of pointer in multidimensional array

arr[i][j] = *(ptr + (i x no_of_cols + j))
0
1 2 3 4 5 6 7 8 9 10 11 12
0
arr[i][j] = baseAddress + [(i x no_of_cols + j) x size_of_data_type]
0

New to Communities?

Join the community