What is the difference between the following statements?
char *a[10];
char (*a)[10];
What is the difference between the following statements?
char *a[10];
char (*a)[10];
char *a[10];
This declares array of 10
pointers to char
.
Whereas , this -
char (*a)[10];
declares pointer to array of 10
char
's