Haval1

Question 2

Jan 19th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include"stdafx.h"
  2. #include "string"
  3. #include <iostream>
  4. /*
  5. print the memory address for a variable
  6. */
  7. using namespace std;
  8. int main()
  9. {
  10.     int x;
  11.     cout << &x << endl;
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment