how can a two dimensional array be represented with a pointer notation? give example
Answers
Answered by
7
Answer:
The 3-D array arr can be considered as an array consisting of two elements where each element is a 2-D array. The name of the array arr is a pointer to the 0th 2-D array. Thus the pointer expression *(*(*(arr + i ) + j ) + k) is equivalent to the subscript expression arr[i][j][k].
Explanation:
it's my pleasure to help you
please mark me as a brainliest
Similar questions
Art,
1 month ago
Math,
1 month ago
English,
4 months ago
Computer Science,
10 months ago
Math,
10 months ago