How to reverse a text file character by character that is last character of file must be first character of output file.
Though I did it by taking the text of whole file in character array and then applying string reverse function and then writing reversed variable in new file. But I think this is not a good approach since some files can be pretty large so that they cannot be stored in a variable.