int *(*(*P)[2][2])(int,int);
P是指向具有2个int类型参数的函数的2x2指针数组的指针,它返回一个int类型指针。这是对的吗?
答案 0 :(得分:16)
cdecl
是解决这些问题的绝佳工具:
$ cdecl
Type `help' or `?' for help
cdecl> explain int *(*(*P)[2][2])(int,int);
declare P as pointer to array 2 of array 2 of pointer to function (int, int) returning pointer to int
是的,你是对的。