[size=14.000000pt]sizeof(int)*p 表示什么意思?
[size=11.000000pt]sizeof[size=11.000000pt]([size=11.000000pt]int[size=11.000000pt])[size=11.000000pt]*p [size=11.000000pt]表示什么意思?留几个问题[size=11.000000pt]([size=11.000000pt]讲解指针与数组时会详细讲解[size=11.000000pt])[size=11.000000pt],[size=11.000000pt]32 [size=11.000000pt]位系统下:[size=11.000000pt]int *p = NULL;
sizeof(p)[size=11.000000pt]的值是多少?
[size=11.000000pt]sizeof(*p)[size=11.000000pt]呢?
[size=11.000000pt]int a[100];
sizeof (a) [size=11.000000pt]的值是多少?[size=11.000000pt]sizeof(a[100])[size=11.000000pt]呢?[size=11.000000pt]//[size=11.000000pt]请尤其注意本例。[size=11.000000pt]sizeof(&a)[size=11.000000pt]呢?
[size=11.000000pt]sizeof(&a[0])[size=11.000000pt]呢?
[size=11.000000pt]int b[100];
void fun(int b[100]){
[size=11.000000pt]sizeof(b);// sizeof (b) [size=11.000000pt]的值是多少?[size=11.000000pt]}
|
|