fork(3) download
  1. #include <stdio.h>
  2. #include <inttypes.h>
  3.  
  4. int main(void) {
  5. char c = 'x';
  6. char *p = &c;
  7. uintptr_t x = (uintptr_t)p;
  8. printf("Pointer as decimal: %"PRIuPTR"\n", x);
  9. // your code goes here
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
Pointer as decimal: 4289718023