#include <stdio.h> int main() { int a=0xabcdef12; char *c = (char *)&a; printf("%x",*c); }
123
12
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!