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

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -