Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 A file written in text mode can be read back in binary mode. ?->(Show Answer!)
1. A file written in text mode can be read back in binary mode.
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.02 pm
The difference is that text files contain lines (or records) of text and each of these has an end-of-line marker automatically appended to the end of it whenever you indicate that you have reached the end of a line. Binary files are not broken up into separate lines or records so the end-of line marker is not written when writing to a binary file. So, we cannot read the correct the data in binary mode.