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