ProAnswers.org

What are the pointer declarations used in C?

1- Array of pointers, e.g , int *a[10]; Array of pointers to integer

2-Pointers to an array,e.g , int (*a)[10]; Pointer to an array of into

3-Function returning a pointer,e.g, float *f( ) ; Function returning a pointer to float

4-Pointer to a pointer ,e.g, int **x; Pointer to apointer to int

5-pointer to a data type ,e.g, char *p; pointer to char