这是什么意思int(* a)[10] [英] What does it mean int (*a)[10]
本文介绍了这是什么意思int(* a)[10]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是什么意思:
int(* a)[10];
What does it mean:
int (*a)[10];
推荐答案
快速功能 <曲****** @ yahoo.com>在消息中写道
news:21 ************************** @ posting.google.c om ...
"Quick Function" <qu******@yahoo.com> wrote in message
news:21**************************@posting.google.c om...
这是什么意思:
int(* a)[10];
What does it mean:
int (*a)[10];
a是指向一组10个整数。因此,例如,一个++将增加一个10英寸的大小(大多数平台上40个字节,但我不能说你的b $ b)。
a is a pointer to an array of 10 ints. So, for example, a++ will increase a
by the size of 10 ints (40 bytes on most platforms, but I can''t speak for
yours).
快速功能写在
新闻:21 ********************* comp@lang.c ++中的*****@posting.google.c om:
Quick Function wrote in
news:21**************************@posting.google.c om in comp.lang.c++:
这是什么意思:
int(* a)[ 10];
What does it mean:
int (*a)[10];
''''指向10个内插阵列:
#include< iostream>
int main()
{
int array [10];
int(* a)[10] =& array;
for(int i = 0; i< 10; ++ i)(* a)[i] = i;
for(int i = 0; i< 10; ++ i)std :: cerr<< array [i]<< ''\ n'';
}
Rob。
-
http://www.victim-prime.dsl.pipex.com/
int(* a)[10];
int (*a)[10];
''''指向一组10个整数:
''a'' points to an array of 10 intergers:
至少十一个? [0 ... 10]
At least eleven? [0...10]
这篇关于这是什么意思int(* a)[10]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文