64bit.c 192 B

123456789101112
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. unsigned long long val = -1;
  5. void *ptr = (void *)-1;
  6. printf("%p\n", ptr);
  7. sscanf("123456789", "%Lx", &val);
  8. printf("val = %Lx\n", val);
  9. return 0;
  10. }