void main_source(char * &data){{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf-8;}}void main(){char * data;data=NULL;main_source(data);{char dest[100];memmove(dest, data, 100*sizeof(char));dest[100-1]='\0';printLine(dest);}}
static void main_source(char * &data){{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}}static void main(){char * data;data=NULL;main_source(data);{char dest[100];memmove(dest, data, 100*sizeof(char));dest[100-1]='\0';printLine(dest);}}