I saw a declaration like this:
int (*a)[2]
What does this mean? Is this a two dimension array? How should I use it ?
Thanks.
Probably be easier to just mention it is a pointer to an array of 2 integers and not an array of 2 pointers to integer
Thanks, both of you.
So generally, if I declare:
int a[2];
now &(a[0]) is the pointer to the array of 2 integers. It is same as "a" in int (*a)[2] ?
Thanks.
Thanks very much, now I think I understand the difference.