2010-08-13 84 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