void main_sink(twointsclass * data);void main(){twointsclass * data;void (*func_ptr) (twointsclass *)=main_sink;data=NULL;data=new twointsclass[100];data[0].a=0;data[0].b=0;printIntLine(data[0].a);printIntLine(data[0].b);func_ptr(data);}void main_sink(twointsclass * data){}
static void main(){twointsclass * data;void (*func_ptr) (twointsclass *)=main_sink;data=NULL;data=new twointsclass[100];data[0].a=0;data[0].b=0;printIntLine(data[0].a);printIntLine(data[0].b);func_ptr(data);}void main_sink(twointsclass * data){delete[] data;}