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