由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - what does this mean?
相关主题
A question about c++ pointerdifference between: char** p and char*p[] ??
C++ Q93 - Q95 (转载)VC++ release VS debug
C++ Q05: pointer to constant variable请问一个关于 cost of pointer的问题
Go adopts JavaScript’s idea of semicolon insertion谁给解释一下这个c question
请教大家一道C的面试题shared_ptr处理stack上面的指针
问个c调用fortran函数的问题一个nested class的问题
[合集] C help(urgent)!!! thanks a lot!!a pointer to a const addr
Fortran 90 中稀疏矩阵读取,什么样的数据结构实现最快请教两道linux面试题目
相关话题的讨论汇总
话题: what话题: mean话题: does话题: int话题: initialize
进入Programming版参与讨论
1 (共1页)
yy
发帖数: 45
1
int (*a) [10];
What does this a mean in this expression?
Thanks a lot!
l*********b
发帖数: 8
2
a pointer that points to an array of 10 integers

【在 yy 的大作中提到】
: int (*a) [10];
: What does this a mean in this expression?
: Thanks a lot!

yy
发帖数: 45
3
Thanks, just wondeing why it is initilized default by compiler
to some address such as:
0xbfade888
while int *ptr; will initialize ptr to 0?
Thanks again.

【在 l*********b 的大作中提到】
: a pointer that points to an array of 10 integers
k****f
发帖数: 3794
4

~~~~~~~~~~~~~~~~~~~~NO

【在 yy 的大作中提到】
: Thanks, just wondeing why it is initilized default by compiler
: to some address such as:
: 0xbfade888
: while int *ptr; will initialize ptr to 0?
: Thanks again.

k****f
发帖数: 3794
5
用中文吧。别用英文,看得费劲

【在 yy 的大作中提到】
: Thanks, just wondeing why it is initilized default by compiler
: to some address such as:
: 0xbfade888
: while int *ptr; will initialize ptr to 0?
: Thanks again.

N*********y
发帖数: 105
6
I think that's just UNINITIALIZED MEMORY. For good coding style, you should
initialize your pointer.

【在 yy 的大作中提到】
: Thanks, just wondeing why it is initilized default by compiler
: to some address such as:
: 0xbfade888
: while int *ptr; will initialize ptr to 0?
: Thanks again.

1 (共1页)
进入Programming版参与讨论
相关主题
请教两道linux面试题目请教大家一道C的面试题
问一个 char * 和 char [] 的问题问个c调用fortran函数的问题
Any examples for implementing user-level threads library in C?[合集] C help(urgent)!!! thanks a lot!!
Why do I need to use "plain" pointer?Fortran 90 中稀疏矩阵读取,什么样的数据结构实现最快
A question about c++ pointerdifference between: char** p and char*p[] ??
C++ Q93 - Q95 (转载)VC++ release VS debug
C++ Q05: pointer to constant variable请问一个关于 cost of pointer的问题
Go adopts JavaScript’s idea of semicolon insertion谁给解释一下这个c question
相关话题的讨论汇总
话题: what话题: mean话题: does话题: int话题: initialize