欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Pointers to Arrays 博客分类: 八卦 CC++C# 

程序员文章站 2024-02-24 20:29:04
...
Will you be confused with these two forms ? Pointers to Arrays
            
    
    博客分类: 八卦 CC++C# 

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#