void main_sink(twointsclass * data_array[]);void main(){twointsclass * data;twointsclass * data_array[5];data=NULL;data=(twointsclass *)calloc(100, sizeof(twointsclass));data_array[2]=data;main_sink(data_array);}void main_sink(twointsclass * data_array[]){twointsclass * data=data_array[2];delete [] data;}
static void main(){twointsclass * data;twointsclass * data_array[5];data=NULL;data=new twointsclass[100];data_array[2]=data;main_sink(data_array);}void main_sink(twointsclass * data_array[]){twointsclass * data=data_array[2];delete [] data;}