please help me in understanding these code snippets-
1)
and the second one isCode:int main ()
{
int a[2][2]={1,2,3,4};
a[1][0]=*(*(a+1)+1); // how this works??
a[1][1]=*(*(a+1)+0);
printf("%d %d %d %d\n",a[0][0],a[0][1],a[1][0],a[1][1]);
return 0;
}
why it prints -10Code:int main ()
{
int p[10];
printf("%d",&p+1);
}