#include <stdio.h> typedef struct
{ int a; int b;
unsigned int (*init_mptr)(unsigned int ptr1,unsigned int len);
} testmap;
unsigned int funtest(unsigned int ptr1,unsigned int,len)
{
return len+20+ptr1; } int main(int argc,char *argv[]) { int a,b;
a=1;
testmap *test1; testmap test; test1=&test; test1->init_mptr=funtest; printf("\na=%d\n",a); b=(*(test1->init_mptr))(a,40); printf("\nb=%d\n",b); return 0; }