fork download
  1. // test.d
  2. import std.stdio;
  3. void main(){
  4. ushort x = 0xffff;
  5. writefln("%08x", ~x+1u);
  6. }
Success #stdin #stdout 0s 2120KB
stdin
Standard input is empty
stdout
00000001