What are the advantages of saving data in:
(i) Binary form
(ii) Text form

Binary form
In binary files data is stored in raw i.e. binary form , no delimiter is needed and translation of data is not required. Hence binary files are faster and easier for program to read and write than text files.

Text form
In text file data is stored in Unicode or ASCII that can be read by program and user both. So, if data need to be readable by user text file is more suitable to store data.

error: Content is protected !!