I have an 2-D array and i wanted to access the particular element of this array using pointer to array something like this below
main()
{
int a[][4]={{2 ,0 ,0 ,2},{41 ,0, 0, 9}};
int (*p)[4]=a;
printf("%d",*p[0]);
}
This gives me the first element of Ist 1-d array but now access 2nd element of 1-d array using pointer to array?