none
function pointer double(*foo(double(*)(double,double[]),double)(double,double) RRS feed

  • 问题

  • foo is a pointer to a function if written double(*foo)(double,double)

    but what if double(*foo(double(*)(double,double[],double))double,double) what is foo?

    and what does (double(*)(double,double[],double) behinds foo mean?

    Thank you very much.


    Yijie.Li
    2011年10月9日 20:43

答案

  • double(*foo(double(*)(double,double[]),double)(double,double)

    ooops. Why you have so complicated function point?

    but anyway, it is a functin point, the reture value is a function point: double (*)(double,double)

    And it also has two parameters

    the first one is a function point, double(*)(double,double[]). and the other one is double.

     


    麻烦把正确答案设为解答。
    • 已标记为答案 Rob Pan 2011年10月17日 8:45
    2011年10月10日 7:20
    版主