Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 16th, 2018 75 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. fn main() {
  2.     let mut x = 4;
  3.     let y = &mut x;
  4.     triple(y);
  5.     println!("{}", x);
  6. }
  7.  
  8. fn triple(x: &mut i32) {
  9.     *x *= 3;
  10. }
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
 
Top