Answers for "c++ multidimensional array of pointers"

C
1

use of pointer in multidimensional array

arr[i][j] = *(ptr + (i x no_of_cols + j))
Posted by: Guest on July-02-2020
0

use of pointer in multidimensional array

arr[i][j] = baseAddress + [(i x no_of_cols + j) x size_of_data_type]
Posted by: Guest on July-02-2020

Code answers related to "C"

Browse Popular Code Answers by Language