fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. unsigned long u1, u2, u4;
  6.  
  7. u1 = u2 = u4 = ~0;
  8. sscanf("0 0 0", "%hhd %hd %d", &u1, &u2, &u4);
  9. printf("%#x %#x %#x\n", u1, u2, u4);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 1676KB
stdin
Standard input is empty
stdout
0xffffff00 0xffff0000 0