Explain Difference Between Binary File And Text Files.
3 years ago
C Programming
|
Text file binary |
Binary File |
|
Its bit represents a character. |
Its bits represent custom data. |
|
Less prone to get corrupt as change reflects as soon as made and can be undone. |
Can easily get corrupted, corrupted on even a single bit change. |
|
Store only plain text in a file. |
Can store different types of data (audio, text, image) in a single file. |
|
Widely used file format and can be opened in any text editor. |
Developed for an application and can be opened in that application only. |
|
Mostly .text, and .rtf, are used as an extension to text files. |
Can have any application-defined extension. |
Rusma Khadka
Dec 29, 2022