ITeye博客

Pointers to Arrays

Feiing · 2010-01-07 02:05 · 八卦 · 编程语言 · Markdown

Will you be confused with these two forms ? :D

int (*p1d);

int *p1d;

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.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。