File seekp/seekg demo to reverse few characters of the file