// test.c#include <stdio.h>void main(void){ unsigned short x = 0xffff; printf("%04x", ~x+1u);}
Standard input is empty
prog.c:3: warning: return type of ‘main’ is not ‘int’
ffff0001
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!