DECLARATIONS AND NOTATIONS
int*p; p can be a pointer to an integer
int*p[10]; p is a 10 element array of pointer to integer
int(*p)[10]; p is a pointer to a 10-element integer array.
int*p(); p is a function that returns a pointer to an integer.
int*p[10]; p is a 10 element array of pointer to integer
int(*p)[10]; p is a pointer to a 10-element integer array.
int*p(); p is a function that returns a pointer to an integer.
int p(char*a); p is a function that takes an argument as pointer to a character and returns an integer.
int *p(char*a); p is a function that takes an argument as pointer to a character and returns a pointer to an integer.
int(*p)(char*a); p is a pointer to a function that takes an argument as pointer to a character and returns an integer.
int(*p(char*a))[10]; p is a function that takes an argument as pointer to a character and returns a pointer to a 10 element integer array.
int p(char (*a)[]); p is a function that takes an argument as pointer to a character array and returns an integer.
int p(char*a[]); p is a function that takes an argument as array of pointer to character and returns an integer.
int*p(char a[]); p is a function that takes an argument as character array and returns a pointer to an integer.
int *p(char(*a)[]); p is a function that takes an argument as pointer to a character array returns a pointer to an integer.
int *p(char *a[]); p is a function that takes an argument as array of a pointer to characters and returns a pointer to an integer.
int(*p)(char(*a)[]); p is a pointer to a function that takes an argument as pointer to a character array and returns an integer.
int*(*p)(char(*a)[]); p is a pointer to a function that takes an argument as pointer to a character array and returns a pointer to an integer.
int*(*p)(char*a[]); p is a pointer to a function that takes an argument as array of pointer to characters and returns a pointer to an integer.
int(*p[10])(); p is a 10 element array of pointer to functions, each function returns an integer.
int(*p[10](char a); p is a 10 element array of a pointers to functions each functions takes an argument as character, and returns an integer.
int*(*[)[10])(char a); p is a 10 element array of pointers to functions, each function takes an argument as character and returns a pointer to an integer.
int*(*p[10])(char *a); p is a 10 element array of pointers to functions. each function takes an argument as pointer to a character, and returns a pointer to an integer.
No comments