An array of pointers or a pointer of arrays?
There is a very subtle difference in the following: int *myarray[10] v’s int (*myarray)[10] The first declaration is interpreted as an array of 10 integers, that are pointers. That is you have 1 array holding 10 pointers that are of type integer. The square brackets have a higher precedence so the myarray[10] gets defined first.… Read More »