void main_source(twoints * &data);void main(){twoints * data;data=NULL;main_source(data);delete data;}void main_source(twoints * &data){data=NULL;data=(twoints *)realloc(data, 100*sizeof(twoints));}
static void main(){twoints * data;data=NULL;main_source(data);free(data);}void main_source(twoints * &data){data=NULL;data=(twoints *)realloc(data, 100*sizeof(twoints));}