FILE *out=fopen64(\"text.txt\",\"w+\"); unsigned int write; char *outbuf=new char[write]; //fill outbuf printf(\"%i\\n\",ftello64(out)); fwrite(outbuf,sizeof(char),w
The variable write is uninitialized and so the size of the array and the amount written will be essentially random.
write