C binary file format

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

What are Binary Files :

  1. Binary Files Contain Information Coded Mostly in Binary Format.
  2. Binary Files are difficult to read for human.
  3. Binary Files can be processed by certain applications or processors.
  4. Only Binary File Processors can understood Complex Formatting Information Stored in Binary Format.
  5. Humans can read binary files only after processing.
  6. All Executable Files are Binary Files.

Binary to text file

Explanation :

As shown in fig. Binary file is stored in Binary Format (in 0/1). This Binary file is difficult to read for humans. So generally Binary file is given as input to the Binary file Processor. Processor will convert binary file into equivalent readable file.
Some Examples of the Binary files :

  1. Executable Files
  2. Database files