SHARE
TWEET

Untitled

a guest Jun 19th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void alias (int r, int& s ) {
  2. int t;
  3. t = 3;
  4. r = r + 2;
  5. s = s + r + t;
  6. t = t + 1;
  7. r = r - 3;
  8. cout << r << s << t << endl;
  9. } // alias
  10. int main ( ) {
  11. int t = 12;
  12. alias (t,t);
  13. cout << t << endl;
  14. return 0;
  15. } // main
RAW Paste Data
Want to get better at C++?
Learn to code C++ in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top