Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include"stdafx.h"
- #include "string"
- #include <iostream>
- /*
- print the memory address for a variable
- */
- using namespace std;
- int main()
- {
- int x;
- cout << &x << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment