void main_source(twointsclass * &data){}void main(){twointsclass * data;data=(twointsclass *)malloc(10*sizeof(twointsclass));main_source(data);for(int i=0;i<10;i++){printIntLine(data[i].a);printIntLine(data[i].b);}}
static void main_source(twointsclass * &data){for(int i=0;i<10;i++){data[i].a=i;data[i].b=i;}}static void main(){twointsclass * data;data=(twointsclass *)malloc(10*sizeof(twointsclass));main_source(data);for(int i=0;i<10;i++){printIntLine(data[i].a);printIntLine(data[i].b);}}