Hi I am appending at the bottom of the text file this works on windows but on linux instead of appending to the bottom it appends to the top of the text file. The code i am using is. The code must only use C
FILE *fout;
fout = fopen("dat.txt","a");
fprintf(fout,"&& ");
fclose(fout);
Please help. Thank you