union foo { long a; char b; }; int main(int, char**) { foo temp; temp.a = 0x30313233; // ASCII values of '0', '1', '2', '3' putchar(temp.b); );