In my class i found assigning an array of 4 integer elements to a pointer in the below fashion...i did not get how is this possible
it should be some thing likeCode:int a[4]; int (*p)[4]=&a;
"&a" is nothing but "a" itself right which stores the base address of the array. Then whats the meaning "int (*p)[4] = &a".....can it be "int (*p)[4]=a" will bothe give the same resultCode:int *p=a;