随笔-12  评论-0  文章-1  trackbacks-0
int (*test(char *(*)(void)) (int); declares a function named "test" which accepts a pointer to a function accepting no parameter and returning a char pointer, the function "test" returns a pointer to a function which accepts a integer parameter and returns a integer.
Note: a declaration declares either a variable(pointer) or function(pointer), if its name is followed by left parentheses, it is a function, otherwise it is a variable(pointer).
posted on 2012-09-20 14:38 Sam Zheng 阅读(124) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: