#include <stdio.h> main(){ short i=0xffff; printf("%hx", i);}
Standard input is empty
ffff
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!