allocate 2d array pointer C code example
Example: Pointer of 2D array
*(arr + i) - arr[i] - Base address of ith 1-D array -> Points to 0th element of ith 1-D array
*(arr + i) - arr[i] - Base address of ith 1-D array -> Points to 0th element of ith 1-D array