abc是个指针,指向一个函数,该函数入参为空,返回值为二级指针,指针指向一个入参为空,返回值为int的函数 declare abc as pointer to function returning pointer to pointer to function returning int
int(**(*abc)())();// int (**) ();
abc是个指针,指向一个函数,函数的入参为空,返回值为指针,指向大小为6的数组,数组的元素类型是int declare abc as pointer to function returning pointer to array 6 of int
int(*(*abc)())[6];//int (*)[6];
abc是指针,指向一个函数,函数的入参为空,返回值为一个指针,指向一个数组,数组大小是6,数组的元素类型是指针,指向的是一个函数,函数的入参为空,返回值为int * declare abc as pointer to function returning pointer to array 6 of pointer to function returning pointer to int
f 是一个大小为3的数组,数组元素的类型是指针,指向一个函数,函数入参为空,返回值为char declare f as array 3 of pointer to function returning char
char(* f[3])();//char (*) ();
foo是个指针,指向一个函数,函数的入参为void,返回值是个指针,指向大小为3的数组,数组的元素是int类型 declare foo as pointer to function (void) returning pointer to array 3 of int
int(*(*foo)(void))[3]//int (*)[3]
f是个函数声明,函数的入参是空,返回值是个大小为7的数组,数组的每个元素是指针,指向一个函数,函数的入参为空,返回值为int * declare f as function returning array 7 of pointer to function returning pointer to int
int*(*f()[7])();//int *(* [7])();//int *(*)();
declare bar as const pointer to array 5 of pointer to function (int) returning const pointer to char
char*const(*(*const bar)[5])(int)
x是个大小为3的数组,数组的类型是指针,指向一个函数,函数入参为空,返回值是指针,指向大小为5的char型数组 declare x as array 3 of pointer to function returning pointer to array 5 of char
declare foo as pointer to function (pointer to const void) returning pointer to array 3 of int
int(*(*foo)(constvoid*))[3]
declare d as pointer to function (pointer to int, pointer to function (pointer to char, pointer to pointer to char) returning pointer to pointer to char) returning pointer to pointer to void
C gibberish ↔ English练习:f是一个大小为5的数组,数组的元素类型是指针,指向的是参数为int,返回值为int *的函数declare f as array 5 of pointer to function (int) returning pointer to intint *(*f[5]) (int);返回值为int的函数declare abc as function returning intint abc();大小为3的int型数组,declare a