test-series
[closed]

in Programming closed by
146 views
0 votes
0 votes
closed as a duplicate of: Multidimensional Pointer Arithmetic

#include<stdio.h>

int main()

{

char A[5][7][6];

char *p[5][7][6];

printf("%d\t", (unsigned)(A+1)-(unsigned)A);

printf("%d", (unsigned)(p+1)-(unsigned)p);

}

  1. 42  42
  2. 1  1
  3. 42  336
  4. 336  42
in Programming closed by
146 views

1 comment

there is pointer to 3D array but here p is a 3D array of char pointer type,both questions are diffrent
0
0

Related questions