void main_source(twointsclass * &data);void main(){twointsclass * data;data=NULL;main_source(data);{twointsclass src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0].a);delete [] data;}}}void main_source(twointsclass * &data){data=new twointsclass[50];}
void main_source(twointsclass * &data);static void main(){twointsclass * data;data=NULL;main_source(data);{twointsclass src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0].a);delete [] data;}}}void main_source(twointsclass * &data){data=new twointsclass[100];}