Ok, I am kind of confused here with pointers and arrays, I was wondering if someone could explain this to me:
char (*a)[5] - "a" is a pointer to an array of 5 characters
char *a[5] - "a" is an array of pointers to characters
actually, the 2nd one makes sense to me, because char* is the data type and we have created the a[5] array of this data type
but the 1st line I do not understand.... what is the name of this array of 5 characters? Why does a point to it? what do the paranthese do?
I appreciate any help with this, it's confusing to me. Thank you