What's the difference between
char *a[10];
and
char *(a[10]);
I always used the first for an array of char pointers, but now I found code that used the second.
Since I was not sure if this is the same, I printed sizeof () and both return 80 (64-bit OS), so I tend to assume that both of them are the same (array of char pointers).
But since I cannot find any explanation on the Internet or anything using the syntax * ([]), I was looking for confirmation.
thank
source
share