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); } 42 42 1 1 42 336 336 42 Programming in C test-series + – Prateek Raghuvanshi asked Sep 13, 2018 closed Sep 13, 2018 by Shaik Masthan Prateek Raghuvanshi 261 views comment Share Follow See 1 comment See all 1 1 comment reply Prateek Raghuvanshi commented Sep 13, 2018 reply Follow Share there is pointer to 3D array but here p is a 3D array of char pointer type,both questions are diffrent 0 votes 0 votes Please log in or register to add a comment.