wchar_t * main_source(wchar_t * data);void main(){wchar_t * data;data=NULL;data=main_source(data);{size_t i, dest_sz;wchar_t dest[100];wmemset(dest, L'C', 100-1);dest_sz=wcslen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]=L'\0';printWLine(dest);delete [] data;}}wchar_t * main_source(wchar_t * data){data=new wchar_t[50];return data;}
wchar_t * main_source(wchar_t * data);static void main(){wchar_t * data;data=NULL;data=main_source(data);{size_t i, dest_sz;wchar_t dest[100];wmemset(dest, L'C', 100-1);dest_sz=wcslen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]=L'\0';printWLine(dest);delete [] data;}}wchar_t * main_source(wchar_t * data){data=new wchar_t[100];return data;}