initialize 2d array c++ pointer 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