Here a is 3D array .Suppose base address of a is 1000.
int *b = a;
b is pointing the address of a So b will contain 1000.
int *c = a+1;
Here c containing the address of a+1 i.e. a plus it will skip 1 2D array (20*30*4) so 2400+100 i.e.2500 .
Here Subtracting two Pointers.
Final Result = (ptr2 - ptr1) / Size of Data Type
So finally c-b =2500-1000=2400/4
600 will be printed.