fork download
  1. // test.c
  2. #include <stdio.h>
  3. void main(void){
  4. unsigned short x = 0xffff;
  5. printf("%04x", ~x+1u);
  6. }
stdin
Standard input is empty
compilation info
prog.c:3: warning: return type of ‘main’ is not ‘int’
stdout
ffff0001