int a[5]
a
is an array of5
int
.int (*a)[5]
a
is a pointer to an array of5
int
.int a[5][4]
a
is an array of5
array of4
int
.int *a[5]
a
is an array of5
int
pointers.
6
solved What’s the difference between “int a[5]” and int (*a)[5], int a[5][4] and int (*a)[5]? (C only)