I have the following simple code:
ofstream output("test");
output << 'a';
When I do an octal dump of the file, I get this:
0000000 000141
0000001
I can see that 000141 (in base 8) is 8 bits wide and 0000001 is probably EOF. What is the first byte of all 0's and why is it there? I know it is null is ascii but what is its purpose?