这是个好东西,接触c语言好几年了,第一次看到这东西,惊喜万分. 先提供个分析案例,以后看方便 vector <int> * (*seq_array[]) (int )={func1,func2,func3}; 首先seq_array is a array ,then each member is a point , and go on look forward ,we find echo the poing we mentioned is a function , and look at…
C语言复杂声明 First step int *f(); /* f:是一个函数,它返回一个指向int类型的指针*/ int (*pf)(); /* pf:是一个指向函数的指针,该函数返回一个int类型的对象*/ 说明:*是一个前缀运算符,其优先级低于() Deeper char **argv argv : pointer to pointer to char 指向char 类型的指针的指针 int (*daytab)[13] daytab:pointer to array[13] of int…