c - Pointer array and pointers in parantheses -
could tell me difference between
int *p[n]; and
int (*p)[n]; where n number?
i know first case implies array of pointers, know second declaration implies.
int * p[10]definesparray of tenint-pointers.int (*p)[10]definesppointer array of ten ints. say:int a[10]; int (*p)[10] = &a;
Comments
Post a Comment