Name: Anonymous 2009-06-15 14:23
Write a C program which outputs binary values of all possible bytes(0-255) as e.g. '00001011\n' in the least space.
for (uint8_t byte = 0;; ++byte) {
for (int i = 0; i < 8; ++i) putchar(byte & (0x80 >> i) ? '1' : '0');
putchar('\n');
if (byte == 0xFF) goto end;
} end:;