Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- using namespace std;
- int main()
- {
- int int1 = 5;
- int int2 = 8;
- int* ptr = &int1;
- int &ref = *ptr;
- cout << int1 << int2 << *ptr << ref << endl;
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement