Guest User

Untitled

a guest
Apr 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. int foo() {
  2. return 0;
  3. }
  4.  
  5. int main() {
  6.  
  7. int a;
  8. printf("%dn",&a);
  9.  
  10. printf("%dn",foo);
  11.  
  12. return 0;
  13. }
  14.  
  15. -1075908992 134513684
  16.  
  17. int a;
  18. printf("%pn", &a);
  19.  
  20. printf("%pn", (void*)&a);
  21. printf("%pn", (void*)foo);
  22.  
  23. %d
  24.  
  25. printf("%pn",foo);
  26.  
  27. printf("%" PRIuPTR "n", (uintptr_t)(void *)&foo);
Add Comment
Please, Sign In to add comment