#include <iostream>
#include <string>
using namespace std;
void ab(int &a,int &b)
{
cout<<a;
cout<<b<<endl;
}
int main()
{
typedef void (*zhizhen)(int &,int&);
zhizhen pf=ab;
int c=7,f=9;
pf(c,f);
}
#include <iostream>
#include <string>
using namespace std;
void ab(int &a,int &b)
{
cout<<a;
cout<<b<<endl;
}
int main()
{
typedef void (*zhizhen)(int &,int&);
zhizhen pf=ab;
int c=7,f=9;
pf(c,f);
}
转载于:https://www.cnblogs.com/lisongfeng9213/p/3348839.html