2010-08-13 81 views

回答

0

也许

int (*(*function_pointer)())[3]; 

(至少GCC似乎明白了吧)

0

请参阅this reference,这非常有帮助。需要注意的技术使用的typedef

typedef int (*pfintarray())[3]; 

pfintarray myFunc() { /* etc 
4
 f     -- f 
     *f     -- is a pointer 
     (*f)()    -- to a function 
    *(*f)()    -- that returns a pointer 
    (*(*f)())[3]   -- to a 3-element array 
int (*(*f)())[3]   -- of int