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