读书人

A pointer to an array of pointers t

发布时间: 2012-11-05 09:35:12 作者: rapoo

A pointer to an array of pointers to array of ints
A pointer to an array of pointers to array of ints
a function returning an array of pointers to array of floats
请问怎么用C语言描述?

[解决办法]
第一题:int (*(*x)[])[10];

第二题: C/C++不能返回数组,非要写的话,大概是这样
float (*x()[])[10];
[解决办法]

探讨
A pointer to an array of pointers to array of ints
a function returning an array of pointers to array of floats
请问怎么用C语言描述?

读书人网 >C语言

热点推荐