1
int data[2][2] = {1,2,3,4};
int (*p)[2];
p = &data[0];
printf("%d\n",p);
printf("%d\n",data[0]);
printf("%d\n",&data[0]);

In this program the value of data[0] and &data[0] returns the same answer. Can anyone provide the explanation?

0 Answers0