Suppose we have: int A [5] [2] [3]; Now, if I do this: A [1] [0] [0] = 4; does it mean:
1.) Are A [1] and A [1] [0] pointers?
2.) If A [1] is a pointer, will it save the address of the pointer A [1] [0]?
3.) If A [1] [0] is a pointer, then it will save the address A [1] [0] [0], which is NOT a pointer, but simply a variable that stores the value 4
If the above points are correct, then why use the following code, which gives us the same integer address:
int main(void)
{
int A [5] [2] [3];
A[1][0][0]=4;
printf("%d\n\n", A[1]);
printf("%d\n\n", A[1][0]);
printf("%d\n\n",&A[1][0][0]);
system("pause");
}
, A [1] , A [1] [0] , , A [1] [0]. , A [1] [0] - , A [1] [0] [0] , , V [
, !