Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x = 1; //My variable
- cout << x << "\n"; //Print the value of x
- cout << &x << "\n"; //Print the address-of x
- //The following line stops the application the user presses a button
- system("pause");
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement