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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: do not know what you are talking about. They are conceptlly different. Can
: you said that a pointer is the same as a array?
相关阅读
写程序越来越难Nate silver和Nassim Taleb骂战有没人可以推荐下2018 python 社区进展的文章ROM based CPU这本书推荐给大家一把年纪了,如何刷题?为啥没有javascript版?深学的学习曲线深度学习机器好费钱啊Java其实也是前后端通吃的...golang IDE[bssd]给大家贡献几个实际项目的情况谁说的用spark做deep learning就要呵呵他?基站异常大数据问题和我的实施方案[bssd]我以前的教授不行了问一个前面讨论过的CV和NLP的问题这个板还是稍有点营养的metrics 用哪家服务好?借宝地问问网站开发的问题。 (转载)深学就是人类的未来