#include <stdio.h>
#include <stdlib.h>
typedef struct DataNode
{
int (*handle)();
}tDataNode;
int print()
{
printf("Hello World!
");
return 0;
}
int main()
{
int a = 0;
tDataNode * pData = NULL;
pData= (tDataNode *) malloc (sizeof(tDataNode));
pData->handle = print;
pData->handle();
return 0;
}