void main_sink(char * * data_ptr);void main(){char * data;data=NULL;data=new char[50];main_sink(&data);}void main_sink(char * * data_ptr){char * data=*data_ptr;{size_t i, dest_sz;char dest[100];memset(dest, 'C', 100-1);dest_sz=strlen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]='\0';printLine(dest);delete [] data;}}
void main_sink(char * * data);static void main(){char * data;data=NULL;data=new char[100];main_sink(&data);}void main_sink(char * * data_ptr){char * data=*data_ptr;{size_t i, dest_sz;char dest[100];memset(dest, 'C', 100-1);dest_sz=strlen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]='\0';printLine(dest);delete [] data;}}