SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     let a = 0;
  3.     println!("{:p}", &a);
  4.    
  5.     let a = 0;
  6.     println!("{:p}", &a);
  7.    
  8.     let mut a = 0;
  9.     println!("{:p}", &a);
  10.     a += 1;
  11.     println!("{:p}", &a);
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top