void main_sink(struct_type my_struct);void main(){char * data;struct_type my_struct;data=NULL;{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf-8;}my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){char * data=my_struct.a;{char src[100];memcpy(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}
void main_sink(struct_type my_struct);static void main(){char * data;struct_type my_struct;data=NULL;{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){char * data=my_struct.a;{char src[100];memcpy(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}