c - Pointer declaration -
what pointer declaration char *(*a)[20];
mean? difference char **a[20];
?
are both declarations equivalent? , if not, distinction?
that pointer array of pointers.
char a[20];
array of characters.
char* a[20];
array of pointers characters
char (*a)[20];
pointer array of characters
char* (*a)[20];
pointer array of pointers characters.
note char** a[20]
array of pointers pointers characters. brackets have higher precedence asterisk, need parentheses declare pointer array.
Comments
Post a Comment