I am reading “Computer Systems: A Programmer’s Perspective”, and there are two statements that, when taken together, don’t make sense to me:
- The hello.c program is stored in a file as a sequence of bytes.
- Files such as hello.c that consist exclusively of ASCII characters are known as text files. All other files are known as binary files.
If a file is stored as a sequence of bytes, then it is stored as a sequence of numbers from 0 to 255. Each number from 0 to 255 is a valid ASCII character (https://www.asciitable.com/), so how it is possible to create a file that consists of anything other than valid ASCII characters?