int (*a) [10]; What does this a mean in this expression? Thanks a lot!
l*b
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
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
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
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
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.