这个你可以从符号优先级去理解,float *a[],(这里应该是[]吧),它指的是指针数组,而float (*a)[],应该是数组指针,这是理念上的不同点,实际上呢,我举个栗子:#include <stdio.h> int main(void) { float *a[]={"1.0","2.0","3.0"}; float (*b)[]={"4.0","5.0","6.0"}; printf("*a[] %d\n",sizeof(a)); printf("(*b)[] %d\n",sizeof(b)); return 0; } |