Below is an example of two dimensional array.
int s[5][2] = { {0, 1}, {2, 3}, {4, 5}, {6, 7}, {8, 9} }; int (*p)[2]; If I write p = &s[0]; there is no error. But if I write p = s[0]; there is an error, even though &s[0] and s[0] will give the same address.
Please let me know why there is a differnece, even though both give the same address.