L*r
5 楼
kukutf (五脚蟹★酷酷豆腐) is right.
To 32bit OS:
xxx **p is 4
xxx *p[n] is 4 by n
To 32bit OS:
xxx **p is 4
xxx *p[n] is 4 by n
c*n
6 楼
对阿,一个是指向Char×的指针,一个是数组,区别很大啊。。。
c*n
8 楼
do not know what you are talking about. They are conceptlly different. Can
you said that a pointer is the same as a array?
you said that a pointer is the same as a array?
N*n
9 楼
What I mean is when you declare an array without either specifying its
size or initializing its content (which is what the topic suggests and
typical in function parameter declaration), it's basically a pointer.
Say a fucntion is defined as:
void foo (XXX a[])
"sizeof(a)" within this foo function forever produces "sizeof(XXX *)"
instead of the actual size of the parameter a.
【在 c*******n 的大作中提到】
: do not know what you are talking about. They are conceptlly different. Can
: you said that a pointer is the same as a array?
相关阅读
大牛们说说为什么我那么钟意node?Critical GnuTLS crypto bug leaves Linux, hundreds of apps坛子里有人搞HBase的吗?新手问一下iphone/ipad的app用什么写的怎么发布?有人研究过chen shuo的c++多线程那本书么 评价如何新手VB.net一问板上有修Coursera上的machine learning课程的么?小白弱问一个AWS EC2 outage的问题请问怎样在C/C++里取联机的windows phone 里的图片? (转载)在买买提上混久了请教一个TCP连接的问题赵测老师你说说你一年挣多少钱吧?gmail和hotmail的区别感觉nosql那个什么三驾马车完全是以讹传讹搞个自动空管真那么难?!大牛zhaoce给点建设性意见?PayPal and Netflix cozy up to Node.js这里人多,问一下怎么在新项目里夺权? (转载)为什么好多ID 见到 c++就好象 不共戴天呢?请问大牛做科学计算用什么语言合适?