Pointers to Arrays

Will you be confused with these two forms ? 

int (*p1d)[10];

int *p1d[10];

Well, the former one is a pointer to an array of 10 integers, and the later one is the name of an array of 10 pointers to type int.

Refer to http://home.netcom.com/~tjensen/ptr/ch8x.htm for learning the basic pointer concepts of C.

你可能感兴趣的:(C++,c,C#)