阅读背景:

typedef int* (*a[5])(int n,char* s);

来源:互联网 
#include<iostream.h>
typedef int* (*a[5])(int n,char* s);
typedef int* (*q)(int n,char* s);

///////////////////////////////
int* f(int m,char* s)
{
	cout<<"Hello"<<endl;
	int* mm=new int(m);
	return mm;
}

/////////////////////////////
int main()
{
	int m=3;
	char* s="hhhhhhh";
    q p=&f;
	a qq={p};
	(qq[0])(m,s);	
	return 0;
}
/*
Hello
*/


#include<iostream.h>
typedef int* (*a[5])(int n



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: