Pointer to array

double (*ptr)[6];

In the above declaration ptr is pointer to arrays of size six and its content is double type data.
(85)Pointer to an array
char(*ptr)[5];

In the above declaration ptr is pointer to array of size of five which contents are character type data.

No comments: