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 src[100];strncpy(data, src, 100);data[100-1]='\0';printLine(data);}}
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 src[100];strncpy(data, src, 100);data[100-1]='\0';printLine(data);}}