函数指针作返回值
#include<iostream>

using namespace std;

void fun1(int k, string s)
{
    cout << "this is base function!" << endl;
    cout << "int = " << k << ", string = " << s << endl;
}

//void 
void (*fun2(double d))(int, char)
{
    cout << "(*fun2(double))" << endl;
    return fun1;
}


int main()
{
    void (*p)(int, char) = fun2(3.33);   //??
    p(1, "china");

    return 0;
}