#include<stdio.h>
typedef struct __TEST{
int value;
void* (*MyFunc)(void *);
}TEST;
void* MyPrint(void *argv)
{
printf("MyPrint\n");
}
int main()
{
TEST t;
t.MyFunc = MyPrint;
(t.MyFunc)(NULL);
return 0;
}
#include<stdio.h>
typedef struct __TEST{
int value;
void* (*MyFunc)(void *);
}TEST;
void* MyPrint(void *argv)
{
printf("MyPrint\n");
}
int main()
{
TEST t;
t.MyFunc = MyPrint;
(t.MyFunc)(NULL);
return 0;
}