void main_sink(void * void_data_ptr);void main(){twoints * data;data=NULL;data=(twoints *)malloc(100*sizeof(twoints));main_sink(&data);}void main_sink(void * void_data_ptr){twoints * * data_ptr=(twoints * *)void_data_ptr;twoints * data=(*data_ptr);delete [] data;}
static void main(){twoints * data;data=NULL;data=new twoints[100];main_sink(&data);}void main_sink(void * void_data_ptr){twoints * * data_ptr=(twoints * *)void_data_ptr;twoints * data=(*data_ptr);delete [] data;}