#include <stdio.h> int main() { unsigned int x = 1; printf ("%d", (int) (((char *)&x)[0])); return 0; }
$ make show_bytes $ xxd show_bytes # show hex dump