Advertisement
karlicoss

fuck

Jan 17th, 2015
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1. #1
  2. #include <stdio.h>
  3.  
  4. void main(void) {
  5.     int fuck;
  6.     int fuck2[1];
  7.     printf("%p \n", &fuck);
  8.     printf("%p \n", fuck2);
  9. }
  10. $ gcc -O0 test.c -o test && ./test
  11. > 0x7fff5469793c
  12. > 0x7fff54697930
  13.  
  14. #2
  15. #include <stdio.h>
  16.  
  17. void main(void) {
  18.     int fuck2[1];
  19.     int fuck;
  20.     printf("%p \n", &fuck);
  21.     printf("%p \n", fuck2);
  22. }
  23. $ gcc -O0 test.c -o test && ./test
  24. > 0x7fff213d57cc
  25. > 0x7fff213d57c0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement