阅读背景:

通过指针算法计算数组长度

来源:互联网 

I was wondering how *(&array + 1) actually works. I saw this as an easy way to calculate the array length and want to understand it properly before using it. I'm not very experienced with pointer arithmetic, but with my understanding actually work




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: