Pointers to Arrays 博客分类: 八卦 CC++C#
程序员文章站
2024-02-24 20:29:04
...
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.
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.
推荐阅读
-
Pointers to Arrays 博客分类: 八卦 CC++C#
-
万峰:征婚节目中的某些女嘉宾不要脸 博客分类: 八卦 读书FlashPHP生活
-
iPhone 4.0 发布 - Apple, 下一个微软 ? 博客分类: 八卦 AppleMobileWindows Mobile黑莓游戏
-
iPhone 4.0 发布 - Apple, 下一个微软 ? 博客分类: 八卦 AppleMobileWindows Mobile黑莓游戏
-
央視禁用英文簡稱 博客分类: 八卦 FP浏览器
-
万峰:征婚节目中的某些女嘉宾不要脸 博客分类: 八卦 读书FlashPHP生活
-
关于 merb 和 rails 进展的小道消息 博客分类: 程序思考 RailsMacRubyRuby八卦框架
-
关于 merb 和 rails 进展的小道消息 博客分类: 程序思考 RailsMacRubyRuby八卦框架
-
读取配置文件动态创建对象[C++](4) 博客分类: OO CC++C#工作
-
学习shell咯3 博客分类: Linux Bash编程CC++C#