#include <stdio.h>
int main()
{
int arr[2][2];
int *p[2];
int (*p1)[2];
p[2]=arr[2];
p1=&arr[2];
printf("size of p is %d\t, *p is %d\n",sizeof(p),sizeof(*p));
printf("size of p1 is %d\t, *p1 is %d\n",sizeof(p1),sizeof(*p1));
}
Output:
size of p is 8 , *p is 4
size of p1 is 4 , *p1 is 8
Please tell me how to actually relate my code to this output!