void _main(){char * data;char data_buf[FILENAME_MAX]=BASEPATH;data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(FILENAME_MAX-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(FILENAME_MAX-data_len), pFile);fclose(pFile);}}}{char * data_copy=data;char * data=data_copy;{FILE *file=NULL;file=FOPEN(data, "wb+");if (file!=NULL) fclose(file);}}}
static void main(){char * data;char data_buf[FILENAME_MAX]=BASEPATH;data=data_buf;strcat(data, "file.txt");{char * data_copy=data;char * data=data_copy;{FILE *file=NULL;file=FOPEN(data, "wb+");if (file!=NULL) fclose(file);}}}