Difference Between Text Files and Binary Files?
https://www.computersprofessor.com/2016/12/difference-between-text-files-and.html
|
|
FORMATTED
TEXT FILES
|
|
BINARY
FILES
|
A)
|
Stores
information in English format
|
A)
|
Stores
info. in ASCII format
|
B)
|
Supports
sequential access
|
B)
|
Support
random access
|
C)
|
Variable
length records.
|
C)
|
Fixed
length record
|
D)
|
‘fscaf()’
is used to read the file contents.
|
D)
|
‘fread()’
is used to read the file contents
|
E)
|
Temporary
to modify ( or) to delete a record in the file
|
E)
|
Temporary
file is used to delete a record only
|
|